PATCH /v1/projects/{projectId}/api-keys/{apiKeyId}
Replaces the identified project key’s permission list with the supplied permissions and returns the updated metadata. Sending the permission list the key already has leaves it unchanged. This request does not create a new secret or change the key’s project binding. Supply the required Idempotency-Key header.
- TypeScript
- Python
- Rust
TypeScript
Parameters
string
required
Identifies one logical mutation across retries.
string
required
string
required
Body
array of ApiKeyPermission
required
Returns
200 The key with its new permission list. Sending the list it already holds returns it unchanged. ProjectApiKeyResponse
ApiKey
required