Set when credential passwords rotate
PUT/api/v1/Credential/OnChangeReset
Sets whether the passwords of the listed credentials change at the start of a session, at the end of a session, or both, and what happens to the account afterward. It applies only to credentials whose managed user rotates automatically. The credentials are updated in list order, so if one fails, the ones before it are already changed.
Permission required: Admin or App role.
Values for PostSessionAction: 0 = Disable, 1 = Enable, 2 = KeepPrevious.
Request
Responses
- 202
- 400
- 403
- 404
The settings were accepted and applied.
The list was empty, an ID was empty, a managed user is not automatic, or the update failed.
The signed-in user does not have the required role.
A credential or its managed user was not found.