Policy Management

Creates policy bundle for the context

This endpoint replaces the current policy bundle with the provided policy bundle

post/owner/{ownerID}/context/{context}/policy-bundle

Request

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

Path parameters

ownerIDstring required
contextstring required

Query parameters

dryboolean

Request body

policiesobject

Response

Policy-Bundle diff successfully returned.

createdstring[]
deletedstring[]
modifiedstring[]

Changes

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