User Status

Get the status, active or inactive, for a particular user.

Get the status, active or inactive, for a particular user

get
Path parameters
uidinteger · int64Required

User ID as a decimal integer

Header parameters
sessionTokenstringRequired

Session authentication token.

Responses
chevron-right
200

Success

application/json
statusstring · enumOptionalExample: ENABLEDPossible values:
suspendedbooleanOptional

An optional attribute indicating whether the user is temporarily suspended or not. Since SBE 20.14.

Example: true
suspendedUntilinteger · int64Optional

An optional unix timestamp until which the suspension is effective. Since SBE 20.14.

Example: 1601546400
suspensionReasonstringOptional

An optional description of the suspension reason. Since SBE 20.14.

Example: The user will be OOO due to a mandatory leave
get
/v1/admin/user/{uid}/status

🚧 Required Permissions

Calling this endpoint requires the User Provisioning role with ACCESS_USER_PROVISIONING_API privilege. See Bot Permissionsarrow-up-right for a list of roles and associated privileges.

Last updated

Was this helpful?