Skip to main content
PATCH
/
v2
/
api-keys
/
{key_id}
Update API key scopes for the authenticated user
curl --request PATCH \
  --url https://api.kyberis.ai/v2/api-keys/{key_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "scopes": [
    "<string>"
  ]
}
'
{
  "key_id": "<string>",
  "name": "<string>",
  "scopes": [
    "<string>"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.kyberis.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer <access_token>

Path Parameters

key_id
string
required

Body

application/json
name
string | null
Maximum string length: 255
scopes
string[] | null

Response

Successful Response

key_id
string
required
name
string | null
scopes
string[]