Skip to main content
POST
Add/remove scopes on an api key

Authorizations

x-api-key
string
header
required

Path Parameters

user_id
string
required

Body

application/json

Add and/or remove individual scopes on an api key — a granular edit that changes named scopes without replacing the whole set (the key edit door's scopes field does a full replace).

add
string[]
remove
string[]

Response

Success.

data
ScopesUpdateAck · object
required

Acknowledges a granular scope edit, returning the resulting scope set.