Page tree




In This Document 


Was this document useful? 
Your Rating:
Results:
1 Star2 Star3 Star4 Star5 Star
2 rates


Have a suggestion for the Armor Knowledge Base? Send a message to kb@armor.com.



Overview

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