---
title: "Revoke all permissions on monitor or folder."
method: PUT
path: "/v1/monitors/permissions/revoke"
tags: ["monitorsLibraryManagement"]
---

# Revoke all permissions on monitor or folder.

`PUT /v1/monitors/permissions/revoke`

Revoke all permissions on monitor or folder in the monitors library.

## Request body

- PermissionIdentifiers
  - `permissionIdentifiers` PermissionIdentifier[], required — List of permission identifiers.
    - `subjectType` string, required — Type of subject for the permission. Valid values are: `user` or `role` or `org`.
    - `subjectId` string, required — The identifier that belongs to the subject type chosen above. For e.g. if the subjectType is set to `user`, subjectId should be the identifier of a user (same goes for `role` or `org` subjectType).
    - `targetId` string, required — The identifier that belongs to the resource this permission assignment applies to.

## Response `204`

Permissions were successfully revoked for monitor or folder.

## Other responses

- `default` — Operation failed with an error.

---

[API](https://skmtc.net/sumologic/apis/sumo-logic-api.md) · [All operations](https://skmtc.net/sumologic/apis/sumo-logic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sumologic/sumo-logic-api/versions/18a824df1e78/schema)
