Policy Git Repositories
Activate Policy Repo
Disable the currently active policy repo, this action means to turn off the gitops feature. If there is no active policy repo, this action will do nothing.
put/v2/projects/{proj_id}/repos/{repo_id}/activate
Path parameters
proj_idstring required
Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").
Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").
repo_idstring required
Either the unique id of the policy repo, or the URL-friendly key of the policy repo (i.e: the "slug").
Either the unique id of the policy repo, or the URL-friendly key of the policy repo (i.e: the "slug").
Response
Successful Response
Changes
No recorded changes to this endpoint across all 10 revisions of this API.