Removes users account privileges.

DELETE {{baseUrl}}/v2.1/accounts/{{accountId}}/users?delete={{delete}}

This closes one or more user records in the account. Users are never deleted from an account, but closing a user prevents them from using account functions.

The response returns whether the API execution was successful (200 - OK) or if it failed. The response contains a user structure similar to the request and includes the user changes. If an error occurred during the DELETE operation for any of the users, the response for that user contains an errorDetails node with errorCode and message properties.

Request Params

KeyDatatypeRequiredDescription
deletestring

Request Body

{"users"=>[{"userName"=>"sample string 1", "userId"=>"sample string 2", "email"=>"sample string 3", "userType"=>"sample string 4", "userStatus"=>"sample string 5", "uri"=>"sample string 6", "loginStatus"=>"sample string 7", "sendActivationEmail"=>"sample string 8", "activationAccessCode"=>"sample string 9"}]}

HEADERS

KeyDatatypeRequiredDescription
Acceptstring
Authorizationstring