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 Primary Account Billing User API updates the user who has been configured as the primary account billing user. 

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

PUT https://api.armor.com/accounts/2/primary-billing

{
  "userId": 1402,
  "accountId": 2
}

Input


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

API Call / URLMethod / Type
/accounts/{accountId}/primary-billingPUT


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

ParameterDescriptionFormatRequired or optionalExample
userIdID of the userIntegerRequired1402
accountIdID of the accountIntegerRequired2

Sample Return

StatusResponse
200

OK