API Keys
API key management endpoints.
| Method | Endpoint | Summary |
|---|---|---|
GET | /v1/api-keys | List API keys |
POST | /v1/api-keys | Create API key |
DELETE | /v1/api-keys/{keyId} | Deactivate API key |
GET | /v1/api-keys/{keyId} | Get API key |
PATCH | /v1/api-keys/{keyId} | Update API key |
PUT | /v1/api-keys/{keyId}/policy-bindings | Replace or clear API-key policy bindings |
POST | /v1/api-keys/{keyId}/policy-profiles | Create API-key policy profile |
POST | /v1/api-keys/{keyId}/policy-profiles/{profileId}/revisions | Create API-key policy revision |
POST | /v1/api-keys/{keyId}/policy-profiles/{profileId}/revisions/{revisionId}/activate | Activate API-key policy revision |
POST | /v1/api-keys/{keyId}/rotate | Rotate API key |
Is this page helpful?