---
title: "Create Git Permissions"
method: POST
path: "/v3/enterprise/organizations/{org_id}/git-providers/permissions"
tags: ["git_permissions"]
---

# Create Git Permissions

`POST /v3/enterprise/organizations/{org_id}/git-providers/permissions`

## Request

- The document declares no server URL.
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/devinenterprise/apis/devin-api-v1/docs/v3/enterprise/organizations/:org_id/git-providers/permissions/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `org_id` string, required

## Request body

- GitPermissionBulkCreateRequest
  - `permissions` GitPermissionCreateRequest[], required
    - `git_connection_id` string, required
    - `group_prefix` string, nullable
    - `prefix_path` string, nullable
    - `read_only` boolean
    - `repo_path` string, nullable

## Response `200`

Successful Response

- GitPermissionResponse[]
  - `created_at` integer, nullable
  - `git_connection_id` string, required
  - `git_permission_id` string, required
  - `group_prefix` string, nullable
  - `prefix_path` string, nullable
  - `read_only` boolean
  - `repo_path` string, nullable

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `422`: Unprocessable Content
- `429`: Too Many Requests

---

[API](https://skmtc.dev/devinenterprise/apis/devin-api-v1.md) - [All operations](https://skmtc.dev/devinenterprise/apis/devin-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/devinenterprise/apis/devin-api-v1/revisions/e3244476af1c?raw)
