Policy Git Repositories
Activate Policy Repo
Changed onDisable 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
Request
- Base URLhttps://api.permit.io (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Path parameters
proj_idstring required
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").
Response
Successful Response
Changes
- info
api tag
Policy Git Repositoriesadded - info
api tag
Policy Git Repositories (EAP)removed
- info