Skip to main content
PUT
Update API Key

Path Parameters

string
required
Organization ID
string
required
Project ID
string
required
API Key ID

Request Body

string
Updated name for the API key
string
Updated status: active or revoked

Example Request

Response

Returns the updated API Key object (without the key value).
Setting status to revoked will immediately prevent the key from being used. This is useful for rotating keys or responding to security incidents.

Error Responses

API Key Not Found

Code Examples