POST
/v1/mgmt/permission/update

Update a permission, using a valid management key.

This API endpoint allows administrators to update an existing permission. The endpoint takes the following two parameters:

  • name (required)
  • description (optional - though if not provided, it will be removed from the permission)

Next Steps

Once you have this data, you can utilize the newly created role to Create Roles or Update Roles

See also

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:ManagementKey\>

Try it

/v1/mgmt/permission/update

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

namestring

newNamestring

descriptionstring

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v1/mgmt/permission/update" \
  -d '{
  "name": "string",
  "newName": "string",
  "description": "string"
}'
Was this helpful?