List Organization API keys

Description

Get a list of all api keys for an organization

Request

GET /v1/organizations/:organizationId/apikeys

Response

Successful response contains the following JSON formated body:

{
  organizationId: string,
  apikeyId: string,
  name: string,
  created: string
}[]

Response Status codes:

  • 200 on success

Request headers

This request must have the following headers:

  • Authorization: bearer <ApiKey>

Example

Request

curl "https://api.cloud.nabto.com/v1/organizations/:organizationId/apikeys" \
  -H "Authorization: Bearer <ApiKey>"

Response

[{
   "organizationId": "or-lmnopqrs",
  "apikeyId": "ak-1234pqrs",
  "name": "friendly name",
  "created": "2022-10-18T10:17:24.299Z"
},
...]