Shield

List bypass tokens for an environment

Changed on

The active tokens valid here: the environment's own and the project-wide ones. Secrets are never returned. Not paginated: bounded by design, a project holds at most 100 active tokens (minting more answers 409).

get/projects/{project_id}/environments/{environment_id}/shield/tokens

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

project_idinteger required

Project ID

environment_idinteger required

Environment ID

Response

Every active bypass token valid here (at most 100, newest first)

created_atstring date-time required
created_byinteger nullable
environment_idinteger nullable

The environment it is limited to; null for a project-wide token.

idinteger required
last_used_atstring date-time nullable
namestring required
scope'environment' | 'project' required

Which environments a bypass token is valid for.

Changes

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    1 more change in this revision