PUT /v1/monitors/permissions/set

Set permissions on monitor or folder in the monitors library.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
permissionStatementDefinitions[] Array Yes

List of permission statement definitions.

permissionStatementDefinitions[].subjectType String Yes

Type of subject for the permission. Valid values are: role or org.

permissionStatementDefinitions[].subjectId String Yes

The identifier that belongs to the subject type chosen above. For e.g. if the subjectType is set to role, subjectId should be the identifier of a role. Similarly, if the subjectType is org, the subjectId should be the identifier of the same org, which owns the resource target.

permissionStatementDefinitions[].targetId String Yes

The identifier that belongs to the resource this permission assignment applies to.

permissionStatementDefinitions[].permissions[] Array Yes

List of permissions.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.