List API keys
GET/v1/api-keys
Parameters
| Field | Type | Required |
|---|---|---|
cursorquery | string | no |
limitquery | integer | no |
Responses
200KeyList400401403404409412413415422428429503
API reference
Issuing, suspending and revoking keys.
GET/v1/api-keys
| Field | Type | Required |
|---|---|---|
cursorquery | string | no |
limitquery | integer | no |
200KeyList400401403404409412413415422428429503POST/v1/api-keys
KeyCreate| Field | Type | Required |
|---|---|---|
name | string | yes |
scopes | array of string | yes |
expires_at | string (date-time) | yes |
environment | enum: test, live | yes |
201KeyIssued400401403404409412413415422428429503POST/v1/api-keys/{key_id}/revoke
| Field | Type | Required |
|---|---|---|
key_idpath | string (uuid) | yes |
ReasonAction| Field | Type | Required |
|---|---|---|
reason_code | string | yes |
note | string | no |
200Key400401403404409412413415422428429503POST/v1/api-keys/{key_id}/suspend
Temporary containment: the key stops authenticating (403 credential_suspended) until resumed. Evidence and history are kept.
| Field | Type | Required |
|---|---|---|
key_idpath | string (uuid) | yes |
ReasonAction| Field | Type | Required |
|---|---|---|
reason_code | string | yes |
note | string | no |
200Key400401403404409412413415422428429503POST/v1/api-keys/{key_id}/resume
Restores a suspended key. Revoked or expired keys cannot be resumed.
| Field | Type | Required |
|---|---|---|
key_idpath | string (uuid) | yes |
ReasonAction| Field | Type | Required |
|---|---|---|
reason_code | string | yes |
note | string | no |
200Key400401403404409412413415422428429503