orgs

List organization fine-grained permissions for an organization

Lists the fine-grained permissions that can be used in custom organization roles for an organization. For more information, see "Managing people's access to your organization with roles."

To list the fine-grained permissions that can be used in custom repository roles for an organization, see "List repository fine-grained permissions for an organization."

To use this endpoint, the authenticated user must be one of:

  • An administrator for the organization.
  • An organization member (or a member of a team) assigned a custom organization role that includes the View organization roles (read_organization_custom_org_role) permission. For more information, see "Permissions for organization access."

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

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

Request

  • Base URL: https://api.github.com
  • URL: https://api.github.com/orgs/{org}/organization-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.