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

Path Parameters

locationId
string
required

The sub-account's GoHighLevel Location ID.

Minimum string length: 1

Body

application/json

The setting.

enabled
boolean
required

On or off.

Response

The sub-account after the change.

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.