Suspend User Account

Suspend or re-activate (unsuspend) a user account.

Released in Symphony 20.7.

Update the status of suspension of a particular user

put
Path parameters
userIdinteger · int64Required

User ID as a decimal integer

Header parameters
sessionTokenstringRequired

Session authentication token

Body
suspendedbooleanOptionalExample: true
suspendedUntilinteger · int64OptionalExample: 1601546400
suspensionReasonstringOptionalExample: The user will be OOO due to a mandatory leave
Responses
200

Success

application/json
put
/v1/admin/user/{userId}/suspension/update

The value of the suspendedUntil field should be provided in milliseconds

Request Examples

📘 Required Fields

When 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 Permissions

Calling 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?