account

List your organization's API keys

Lists the API keys in your organization. Key material is redacted — the full key is only shown once, when it is created. Disabled and archived keys are included (see each key's status) so historical usage can always be matched to the key that generated it.

Requires an API key whose owner is an organization admin. Keys owned by other members receive a 404.

get/v2/account/api-keys

Response

The organization's API keys, redacted.

Example response

{
  "api_keys": [
    {
      "creation_time": "2000-01-23T04:56:07+00:00",
      "label": "Live production environment",
      "redacted_api_key": "ATG56•••••••••••••",
      "api_key_id": "JRPVD7jWR1aTBYiJ0UFVOg",
      "creator_display_label": "John Doe",
      "status": null
    },
    {
      "creation_time": "2000-01-23T04:56:07+00:00",
      "label": "Live production environment",
      "redacted_api_key": "ATG56•••••••••••••",
      "api_key_id": "JRPVD7jWR1aTBYiJ0UFVOg",
      "creator_display_label": "John Doe",
      "status": null
    }
  ]
}

Changes

Changed in 2 of the 33 revisions of this API.34

  • 4e95197be44a33See the full diff
    • ●

      added the new active enum value to the // response property for the response status

      response-property-enum-value-added

    • ●

      added the new archived enum value to the // response property for the response status

      response-property-enum-value-added

    • ●

      added the new disabled enum value to the // response property for the response status

      response-property-enum-value-added

    • ○

      removed the ACTIVE enum value from the // response property for the response status

      response-property-enum-value-removed

    • ○

      removed the ARCHIVED enum value from the // response property for the response status

      response-property-enum-value-removed

    • ○

      removed the DISABLED enum value from the // response property for the response status

      response-property-enum-value-removed

    This revision also has 13 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      endpoint added

      endpoint-added