Permissions to Run the Request
Account Owner, Account Administrators, Department Administrators, or custom roles.
Department Administrators and users with a custom role can change statuses of the users belonging to the departments they manage and their sub-departments.
|credentials (required)||credentials||Read the description of the Credentials object.|
|userId (required)||string||ID of the user whose profile you want to update.|
Specify user status:
1 - active
3 - inactive
After the request has been completed, the system returns an object with the following properties:
|success||bool||True if the user's profile has been updated.|
|Unknown user||A user with the specified ID was not found.|
|Permission denied||A user does not have enough permissions to handle the operation. For example, an organization admin can't add users to another organization.|
|User status must be 1 or 3, <status> given||An unacceptable status.|