orgs

List repository fine-grained permissions for an organization

Lists the fine-grained permissions that can be used in custom repository roles for an organization. For more information, see "About custom repository roles."

The authenticated user must be an administrator of the organization or of a repository of the organization to use this endpoint.

OAuth app tokens and personal access tokens (classic) need the admin:org or repo scope to use this endpoint.

get/orgs/{org}/repository-fine-grained-permissions

Request

  • Base URL: https://api.github.com
  • URL: https://api.github.com/orgs/{org}/repository-fine-grained-permissions
  • Auth: none declared

Path parameters

orgstring required

The organization name. The name is not case sensitive.

Response

Response

namestring required
descriptionstring required

Changes

No recorded changes to this operation across all 83 revisions of this API.