Skip to main content
PATCH
Update API key

Authorizations

Authorization
string
header
required

Prefix your API key with "Bearer ". Example: Authorization: Bearer sapi_key_...

Path Parameters

id
string
required

API key ID

Body

application/json

New name and restrictions

brand_ids
string[]

BrandIDs restricts the key to specific brands. Empty means all brands.

name
string
Example:

"My App"

scopes
string[]

Scopes restricts the key to specific actions. Empty means full access.

Example:

Response

Key updated

brand_ids
string[]
id
string
name
string
scopes
string[]
Example: