Update API key
PATCH
Update API key settings. Use enabled=false to disable a key without deleting it.
apiKeyHeaderheader
x-api-key<token>API key for authentication. Generate from the dashboard or via POST /v1/api-keys.
id*stringUnique API key ID
x-api-key*stringAPI key for authentication
Length
1 <= length- body
name?stringUpdated human-readable label for this API key
Length
1 <= lengthstatus?stringValue in
"active""revoked"Response for status 200
application/json- response
id*stringname*stringstatus*stringupdated_at*stringcurl -X PATCH 'https://api.tryaccess.xyz/api/v1/api-keys/key_01J9Z8K2P3Q4R5S6T7U8V9W0X1' \ -H 'x-api-key: string' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "string", "name": "string", "status": "string", "updated_at": "string"}How is this guide?