Delete Secret Server Local User
delete_secretserver_local_userDeactivates a local Secret Server user via the REST API DELETE endpoint and reads the user back to verify it remains disabled.
Instructions
Delete (deactivate) a local Secret Server user.
Calls DELETE /api/v1/users/{id}, then reads the user back as
verification. Secret Server keeps the user with enabled: false
rather than removing it, and refuses to delete a user that is already
disabled. 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": {
"user_id": "<user_id>"
},
"name": "delete_secretserver_local_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes |