Skip To Content

Clean Permissions

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

ParameterDetails
principal

The name of the role (principal) whose permissions need to be deleted.

Example

principal=Editors
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=json

JSON Response example

{"status": "success"}