Remove Roles from Group
remove_group_rolesRemoves specified roles from a Secret Server group by group ID and role IDs, enabling permission cleanup while respecting role-administration lockout safeguards.
Instructions
Remove roles from a Secret Server group.
Calls DELETE /api/v1/groups/{id}/roles with {"roleIds": [...]}.
Secret Server refuses any role removal it calculates would lock the
signed-in account out of role administration
(API_RoleAdministrationNoLockout). It counts only rights granted
through Secret Server roles, so an account that is an administrator
through the Delinea Platform can add roles but not remove them.
Secret Server REST API reference:
https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"group_id": "<group_id>",
"role_ids": "<role_ids>"
},
"name": "remove_group_roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | Yes | ||
| role_ids | Yes |