Archive Permission
Last updated
Last updated
PUT /permissions/{permissionId}/archive
Archives or unarchives a permission, depending on the body of the request. Response either returns the updated permission (success) or the reason why it was not possible to execute the operation (failure).
User action signature required. See User Action Signing for more information.
Request headers required. See Request Headers for more information.
Authentication required. See Authentication Headers for more information.
Name | Conditions |
---|---|
Path parameter | Description |
---|---|
In the request body specify wheter the permission is to be archived or unarchived.
property | Type - Required | Description |
---|---|---|
If successful, a response object of the update permission will be returned:
When a permission is archived, it remains in the database and its permission name cannot be reused.
Permissions:Archive
Always Required
permissionId
Unique identifier of the permission. Permission IDs look like this:
pm-orange-apple-2b17a80613
isArchived
Boolean - Required
Specify whether to archive or unarchive permission.