Update Secret
Syteca ACB REST API endpoint to update a secret — change name, target, password, rotation, check-out, heartbeat, or permissions. Partial update — only the fields provided are changed.
https://{hostname}/EkranACB server in the Playground.Permissions required
- Editor or Owner role on the secret for most field changes.
- Owner role required to modify the
permissionsfield.
Common update patterns
type after creation is not supported. Create a new secret of the desired type and delete the old one if you need to convert.Errors
See Status codes. Common errors:- 400 Bad Request — invalid configuration object (e.g.
rotate_every_min: 0, no longer accepted in v1.4 — useenabled: falseinstead). - 403 Forbidden — user lacks Editor/Owner, or lacks Owner when modifying permissions.
- 404 Not Found — secret doesn’t exist.
Related
Get secret
Add secret
Rotate password
Data models
Authorizations
Access token for authentication
Path Parameters
The ID of the secret to update
x >= 1Body
Name of the secret
512Description of the secret
2000The password value
ID of the parent folder
x >= 0Name of the parent folder
512Domain for AD accounts
512Computer name for Windows/Unix accounts
512URL for web accounts
2000Server for database accounts
512Login username
512List of computers
Whether to record activities for this secret
Response
Secret updated successfully
Unique identifier of the secret
Name of the secret
Type of secret
None, UnixAccountSSH, UnixAccountTelnet, WindowsAccount, ADAccount, WebAccount, MSSQLAccount Login username
Description of the secret
ID of the parent folder
Domain for AD accounts
Computer name for Windows/Unix accounts
URL for web accounts
Server for database accounts
List of computers
Whether to record activities for this secret
Status of the last password check (heartbeat)
None, Valid, Invalid, Failed UTC timestamp of the last password check
Status of password rotation
Disabled, Enabled, Failed UTC timestamp of the last password rotation