Skip to main content
PATCH
Update Git Permission

Permissions

Requires a service user with the ManageGitIntegrations permission at the enterprise level.

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Path Parameters

org_id
string
required

Organization ID (prefix: org-)

Example:

"org-abc123def456"

git_permission_id
string
required

Git permission ID (prefix: git-permission-)

Example:

"git-permission-abc123def456"

Body

application/json
read_only
boolean | null

Response

Successful Response

git_connection_id
string
required
git_permission_id
string
required
created_at
integer | null
group_prefix
string | null
prefix_path
string | null
read_only
boolean
default:false
repo_path
string | null