Update an API Key
PATCH/v1/org/:org_id/key/:key_id
Update metadata for an API key, including name, authorization scopes, and expiration time.
Changes to scopes or expiration may take several minutes to apply to requests made with the key.
Required Scope: write-api-keys
Authorization Scopes
You may update the scopes assigned to an API key to change its permissions. See the Cloud API "Introduction" for a complete list authorization scopes.
Expiration Time
You may update the expiration time for an API key. Set to 0 to remove expiration (key will never expire).
Request
Responses
- 200
- 400
- 413
- 500
API Key Updated
Bad Request
Request Entity Too Large
Internal Server Error