Lock Out Secret Server Local User
lock_out_secretserver_local_userLocks a local Secret Server user account to prevent access until an administrator unlocks it, recording the specified lockout reason type and description.
Instructions
Lock a local Secret Server user out until an administrator unlocks them.
Calls POST /api/v1/users/{id}/lock-out. reason_type is
"SuspiciousActivity", "LoginAttemptsExceeded" or "Other";
reason is recorded as the description. 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": "lock_out_secretserver_local_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| user_id | Yes | ||
| reason_type | No | Other |