Skip to main content
PUT
Update API Key

Path Parameters

organizationId
string
required
Organization ID
projectId
string
required
Project ID
id
string
required
API Key ID

Request Body

name
string
Updated name for the API key
status
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