Policy Git Repositories
Create Policy Repo
Changed onCreates a new policy repository configuration under a given project. The given repository is created with status 'pending', it will be changed and used as the 'active' repository for the policy only after a successful attempt to use it. The repository main branch must be present in the remote.
post/v2/projects/{proj_id}/repos
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").
Request body
Response
Successful Response
Changes
- info
api tag
Policy Git Repositoriesadded - info
api tag
Policy Git Repositories (EAP)removed
- info