Context

List environment variables

List information about environment variables in a context, not including their values.

get/context/{context_id}/environment-variable

Request

  • Base URL
    https://circleci.com/api/v2
  • URL
    https://circleci.com/api/v2/context/{context_id}/environment-variable
  • Auth
    • API key in header Circle-Token
    • or HTTP bearer
    • or HTTP basic
    • or API key in query parameter circle-token

Path parameters

context_idstring uuid required

An opaque identifier of a context.

Query parameters

page-tokenstring

A token to specify which page of results to fetch.

Response

A paginated list of environment variables

next_page_tokenstring nullable required

A token to pass as a page-token query parameter to return the next page of results.

Example response

{
  "items": [
    {
      "variable": "POSTGRES_USER",
      "created_at": "2015-09-21T17:29:21.042Z",
      "updated_at": "2015-09-21T17:29:21.042Z"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.