accounts

Update API key brand scope

patch/v1/accounts/me/api-keys/{keyId}/scope

Request

  • Base URL: https://api.dispatchtickets.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dispatchtickets.com/v1/accounts/me/api-keys/{keyId}/scope
  • Auth: HTTP bearer

Path parameters

keyIdstring required

Request body

allBrandsboolean

Whether this key can access all brands

brandIdsstring[]

Specific brand IDs this key can access (required if allBrands is false)

Example request

{
  "brandIds": [
    "ws_abc123",
    "ws_def456"
  ]
}

Response

API key scope updated

Changes

No recorded changes to this operation across all 1 revision of this API.