Skip to main content
PATCH
/
v1
/
system
/
api-keys
/
{key}
Update an API key
curl --request PATCH \
  --url https://revstack.dev/v1/system/api-keys/{key} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "scopes": [
    "<string>"
  ]
}
'
null

Path Parameters

key
string
required
Example:

"sk_live_abc123"

Body

application/json
name
string
scopes
string[]

Response

200 - application/json

API key updated

The response is of type unknown.