Update User Status
Update the status of a particular user.
User ID as a decimal integer
Session authentication token.
ENABLEDPossible values: An optional attribute indicating whether the user is temporarily suspended or not. Since SBE 20.14.
trueAn optional unix timestamp until which the suspension is effective. Since SBE 20.14.
1601546400An optional description of the suspension reason. Since SBE 20.14.
The user will be OOO due to a mandatory leaveSuccess
Client error, see response body for further details.
Unauthorized: Invalid session token.
Forbidden: Caller lacks necessary entitlement.
Server error, see response body for further details.
POST /pod/v1/admin/user/{uid}/status/update HTTP/1.1
Host: yourpodURL.symphony.com
sessionToken: text
Content-Type: application/json
Accept: */*
Content-Length: 132
{
"status": "ENABLED",
"suspended": true,
"suspendedUntil": 1601546400,
"suspensionReason": "The user will be OOO due to a mandatory leave"
}{
"format": "TEXT",
"message": "Success"
}
📘 NoteIt is not possible to disable protected service users (keymanager and ceservice)
🚧 Required PermissionsCalling this endpoint requires the User Provisioning role with
ACCESS_USER_PROVISIONING_APIprivilege. See Bot Permissions for a list of roles and associated privileges.
Last updated
Was this helpful?