Policy Management

Retrieves a policy document

This endpoint will retrieve a policy document.

get/owner/{ownerID}/context/{context}/policy-bundle/{policyName}

Request

  • Base URL
    https://circleci.com/api/v2
  • URL
    https://circleci.com/api/v2/owner/{ownerID}/context/{context}/policy-bundle/{policyName}
  • Auth
    • API key in header Circle-Token
    • or HTTP bearer
    • or HTTP basic
    • or API key in query parameter circle-token

Response

Policy retrieved successfully.

contentstring
created_atstring date-time
created_bystring
namestring

Changes

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