Suspend User Account
Suspend or re-activate (unsuspend) a user account.
Released in Symphony 20.7.
Path parameters
userIdinteger · int64Required
User ID as a decimal integer
Header parameters
sessionTokenstringRequired
Session authentication token
Body
suspendedbooleanOptionalExample:
truesuspendedUntilinteger · int64OptionalExample:
1601546400suspensionReasonstringOptionalExample:
The user will be OOO due to a mandatory leaveResponses
200
Success
application/json
400
Client error, see response body for further details.
application/json
401
Unauthorized: Invalid session token.
application/json
403
Forbidden: Caller lacks necessary entitlement.
application/json
500
Server error, see response body for further details.
application/json
put
/v1/admin/user/{userId}/suspension/updateRequest Examples
📘 Required FieldsWhen suspending a user account,
suspended=true, all three body parameters are required. When activating a user account,suspended=false, the other two remaining body parameters are not required.
🚧 Required PermissionsCalling this endpoint requires a service account with the User Provisioning role. See Bot Permissions for a list of roles and their associated privileges.
Last updated
Was this helpful?