PUT
/
api-keys
/
{api_key_id}
curl --request PUT \
  --url https://api.schematichq.com/api-keys/{api_key_id} \
  --header 'Content-Type: application/json' \
  --header 'X-Schematic-Api-Key: <api-key>' \
  --data '{
  "description": "<string>",
  "name": "<string>"
}'
{
  "data": {
    "created_at": "2023-11-07T05:31:56Z",
    "description": "<string>",
    "environment_id": "<string>",
    "id": "<string>",
    "last_used_at": "2023-11-07T05:31:56Z",
    "name": "<string>",
    "scopes": [
      "<string>"
    ],
    "updated_at": "2023-11-07T05:31:56Z"
  },
  "params": {}
}

Authorizations

X-Schematic-Api-Key
string
headerrequired

Path Parameters

api_key_id
string
required

api_key_id

Body

application/json
description
string | null
name
string | null

Response

200 - application/json
data
object
required

The updated resource

params
object
required

Input parameters