Skip to main content
PUT
cURL

Authorizations

Authorization
string
header
required

Send your API key as Authorization: Bearer YOUR_API_KEY.

Headers

Idempotency-Key
string

Optional. A retry with the same key returns the first answer with idempotentReplay: true.

Required string length: 8 - 255

Body

application/json

The sub-accounts and the setting.

locationIds
string[]
required

Up to 500 sub-accounts, each named once.

Required array length: 1 - 500 elements
Minimum string length: 1
enabled
boolean
required

On or off.

Response

Credit Guard is set on every named sub-account.

success
boolean
required
Example:

true

data
object
required
idempotentReplay
boolean

Present, and true, when this answer is a replay of an earlier request with the same Idempotency-Key.