POST
/v1/mgmt/authz/ns/delete

Delete a namespace

Delete an authz namespace and remove all related relations.

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:ManagementKey\>

Try it

/v1/mgmt/authz/ns/delete

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

namestring

schemaNamestring

optional upgrade to the schema name

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v1/mgmt/authz/ns/delete" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <ProjectId:ManagementKey>" \
  -d '{
  "name": "string",
  "schemaName": "string"
}'

{}

Was this helpful?