List API keys belonging to the caller's organisation. Secrets are never returned.
Security
api_key
- Mock serverhttps://coreapi.hoxton.ai/_mock/v1/api-keys
- https://nexus.hoxton.ai/api/v1https://nexus.hoxton.ai/api/v1/api-keys
curl -i -X GET \
https://coreapi.hoxton.ai/_mock/v1/api-keys \
-H 'Authorization: YOUR_API_KEY_HERE'OK.
Array [
]
Response
[ { "apiKeyId": "37ba0474-c0bb-4910-bfb5-d6cebb614366", "createdAt": "2019-08-24T14:15:22Z", "createdBy": "string", "expiresAt": "2019-08-24T14:15:22Z", "lastUsedAt": "2019-08-24T14:15:22Z", "name": "string", "organisationId": "c9b3f279-e3b5-4204-ad99-646257417f98", "prefix": "string", "revokedAt": "2019-08-24T14:15:22Z", "role": "string", "siteIds": [ … ] } ]