List the key the caller authenticated with (id, name, timestamps, attenuating grants); a context administrator (grant:manage over /) lists every key in the Context. Never returns the secret. Gated by the Context's allow_self_service_keys flag. Paginated: follow page.nextCursor.

get/api/v1/{context_id}/keys

Path parameters

context_idstring required

Spectron context id

Query parameters

limitinteger

Max keys to return (default 100, max 500)

cursorstring

Continuation token from the previous page's page.nextCursor

countboolean

Also return page.totalSize

Response

Changes

Changed in 3 of the 5 revisions of this API.28

  • 9f159871306717See the full diff
    • the response's body type/format changed from array/ to object/ for status 200

      response-body-type-changed

    • added the new optional query request parameter count

      new-optional-request-parameter

    • added the new optional query request parameter cursor

      new-optional-request-parameter

    • added the new optional query request parameter limit

      new-optional-request-parameter

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 503

      response-non-success-status-added

    • added the required property keys to the response with the 200 status

      response-required-property-added

    • added the required property page to the response with the 200 status

      response-required-property-added

    • endpoint added

      endpoint-added

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

    • api path removed without deprecation

      api-path-removed-without-deprecation

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