Revoke the specified privileges from a profile in the Administration module. The limit is 500 privileges revoked per call.
URL
{RMUrl}/api/admin/profiles/<profile_id>/privileges
REQUEST METHOD
DELETE
URL PARAMETER
profile_id: ID of the profile that contains the privileges to be removed.
FORM CONTENT
Operations (Required): List of privileges to be revoked.
FORM CONTENT EXAMPLE
{
"Operations": [
{ "Code": "/General/Search_Content" },
{ "Code": "/Administration/AuditData_View" } ]
}
SUCCESS RESPONSE
HTTP status code 200: Response content example:
{
"Items": [
{
"Code": "/General/Search_Content",
"Result": {
"ValidationCode": "PrivilegeRevoked",
"Message": "The "Search Content" privilege was removed from the profile.",
"Success": true
}
},
{
"Code": "/Administration/AuditData_View",
"Result": {
"ValidationCode": "PrivilegeRevoked",
"Message": "The "Manage Audit Log" privilege was removed from the profile.",
"Success": true
}
}
]
}