Grant the specified privileges to a profile in the Administration module. The limit is 500 privileges granted per call.
URL
{RMUrl}/api/admin/profiles/<profile_id>/privileges
REQUEST METHOD
POST
URL PARAMETER
profile_id: ID of the profile to which the privileges will be granted.
FORM CONTENT
Operations (Required): List of the privileges to be granted.
FORM CONTENT EXAMPLE
{
"Operations": [
{ "Code": "/General/Search_Content" },
{ "Code": "/Administration/AuditData_View" } ]
}
SUCCESS RESPONSE
HTTP status code 200: Response content example:
{
"Items": [
{
"Id": "E7C2580F-C94F-4496-B652-208734C38C8C",
"Result": {
"ValidationCode": "PrivilegeGranted",
"Message": "The "Update Data" privilege was added to the profile.",
"Success": true
}
}
]
}