ApiA P I Keys

List the business's API keys

Every key for this business, revoked ones included. Revoked keys stay visible: after an incident the question is which keys existed and when each stopped working, and hiding them answers neither. Secrets are absent from this response shape entirely.

GET
/api/b/v1/api-keys

Every key for this business, revoked ones included.

Revoked keys stay visible: after an incident the question is which keys existed and when each stopped working, and hiding them answers neither. Secrets are absent from this response shape entirely.

Authorization

OAuth2PasswordBearer
AuthorizationBearer <token>

In: header

admin_access_token?string|null

Response Body

application/json

application/json

curl -X GET "https://example.com/api/b/v1/api-keys"
[  {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string",    "mode": "test",    "key_prefix": "string",    "scopes": [      "string"    ],    "created_at": "2019-08-24T14:15:22Z",    "last_used_at": "2019-08-24T14:15:22Z",    "revoked_at": "2019-08-24T14:15:22Z",    "expires_at": "2019-08-24T14:15:22Z",    "replaced_by_id": "a3d84e0a-4d68-4aaf-98ed-4d6a393ea8e5"  }]