Skip to main content
PATCH
Update an API key (name/permissions)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

keyId
string
required

API key ID (ObjectId)

Body

application/json
name
string

Key name

Example:

"Plugin survival"

permissions
string[]

Permissions as resource:action. Wildcards 'products:' / ''.

Example:

Response

Key updated

success
boolean
Example:

true

data
object
message
string