v4
latestOpenAPI 3.1.02026-08-02261331761.5 KBPolicy 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