Page tree


Armor Knowledge Base


Feedback

Have a suggestion for the Armor Knowledge Base?

Send a message to kb@armor.com.









This API call applies to both Armor Complete and Armor Anywhere users.

The Update a user status API enables or disables a user account.

You can use the Get Users API to find the user ID (id). You can use the Get Accounts API to find the account ID (id).


Sample Request

POST https://api.armor.com/users/status

REQUEST:
{
 "id": 8,
 "isEnabled": true,
 "accountId": 2,
 "email": "john.smith@example.com"
}

Input


The following table describes the different parts of this API call: 

API Call / URLMethod / Type
/users/statusPOST


The following table describes the parameter (or parameters) for this API call:

ParameterDescriptionFormatRequired or optionalExample
idThe ID of the userIntegerRequired8
isEnabledThe enabled status of the userBoolRequiredtrue
accountIDID of the accountIntegerRequired2
emailThe email (username) of the userStringRequiredjohn.smith@example.com

Sample Return

StatusResponse
200
{
"id": 5718,
"isEnabled": false,
"accountId": 1057,
"email": null,
"userInAccounts": 0,
"userPerformingAction": 0
}
400
"Invalid Request"