POST
/v1/mgmt/authz/re/delete

Delete a list of relations

Delete a list of relations

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:ManagementKey\>

Try it

/v1/mgmt/authz/re/delete

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

relationsarray<object>

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v1/mgmt/authz/re/delete" \
  -d '{
  "relations": [
    {
      "resource": "string",
      "relationDefinition": "string",
      "namespace": "string",
      "target": "string",
      "targetSetResource": "string",
      "targetSetRelationDefinition": "string",
      "targetSetRelationDefinitionNamespace": "string",
      "query": {
        "tenants": [
          "string"
        ],
        "roles": [
          "string"
        ],
        "text": "string",
        "statuses": [
          "string"
        ],
        "ssoOnly": false,
        "withTestUser": true,
        "customAttributes": {}
      }
    }
  ]
}'

{}

Was this helpful?