Skip to main content
PATCH
/
v1
/
api-keys
/
{id}
Update an API key
curl --request PATCH \
  --url https://api.runtools.ai/v1/api-keys/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "scopes": [
    "<string>"
  ],
  "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'

Documentation Index

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

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

Authorizations

Authorization
string
header
required

WorkOS session token or RunTools API key (rt_live_* / rt_test_*). Used in Authorization: Bearer <token> header.

Path Parameters

id
string<uuid>
required

Body

application/json
name
string
scopes
string[]
projectId
string<uuid> | null

Response

200

Updated.