Permissions to Run the Request
Account Owner, Account Administrators, Department Administrators, or custom roles.
Department Administrators and users with a custom role can delete users belonging to the departments they manage and their sub-departments.
|credentials (required)||credentials||Read the description of the Credentials object.|
|userId (required)||string||The ID of the user you want to delete.|
When a request is processed successfully, the system returns an object with the following properties:
|success||bool||True if the user has been deleted|
|Unknown user||The user with the given ID cannot be found.|
|Permission Denied||No permissions to delete the specified user|