- URL:https://<permissions-url>/clean
(POST only)
 - Required Capability:Default administrator role | All authorized privileges
 - Version Introduced:10.1
 
Description
Cleans all permissions that have been assigned to a role (principal). This is typically used when a role is deleted.
Note:
This operation is only available through the Permissions resource on the Root Folder.
Request parameters
| Parameter | Details | 
|---|---|
| principal |                    The name of the role (principal) whose permissions need to be deleted. Example  |               
| f |                    The response format. The default response format is html. Values: html | json| pjson  | 
Example usage
Below is a sample POST request for clean:
POST /webadaptor/admin/services/permissions/clean HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
principal=Editors&f=jsonJSON Response example
{"status": "success"}