Skip to navigation

Enterprise Organization Permission Addition Endpoint

Add new git permissions to an organization.

Returns created permission IDs in the same order as input, along with a mapping from permission_id to repo/group path.

Authentication

AuthorizationBearer

Personal API Key (apk_user_) or Service API Key (apk_)

Path parameters

org_idstringRequired

Request

This endpoint expects a list of objects.
connection_idstringRequired
group_prefixlist of strings or nullOptional
group_prefix_urlstring or nullOptional
prefix_pathstring or nullOptional
repo_pathlist of strings or nullOptional
repo_urlstring or nullOptional

Response

Successful Response
permission_idslist of strings
permission_namesmap from strings to strings
statusstringOptionalDefaults to success

Errors

422
Unprocessable Entity Error