v50

latestOpenAPI 3.0.3MITraw.githubusercontent.com2024-01-0382859610.0 MB
orgs

List security manager teams

Lists teams that are security managers for an organization. For more information, see "Managing security managers in your organization."

To use this endpoint, you must be an administrator or security manager for the organization, and you must use an access token with the read:org scope.

GitHub Apps must have the administration organization read permission to use this endpoint.

get/orgs/{org}/security-managers

Path parameters

orgstring required

The organization name. The name is not case sensitive.

Response

Response

idinteger required

Unique identifier of the team

node_idstring required
urlstring uri required

URL for the team

members_urlstring required
namestring required

Name of the team

descriptionstring nullable required

Description of the team

permissionstring required

Permission that the team will have for its repositories

privacystring

The level of privacy this team should have

html_urlstring uri required
repositories_urlstring uri required
slugstring required
ldap_dnstring

Distinguished Name (DN) that team maps to within LDAP environment

Example response

[
  {
    "id": 1,
    "node_id": "MDQ6VGVhbTE=",
    "url": "https://api.github.com/organizations/1/team/1",
    "members_url": "https://api.github.com/organizations/1/team/1/members{/member}",
    "name": "Justice League",
    "description": "A great team.",
    "permission": "admin",
    "privacy": "closed",
    "html_url": "https://github.com/orgs/rails/teams/core",
    "repositories_url": "https://api.github.com/organizations/1/team/1/repos",
    "slug": "justice-league",
    "ldap_dn": "uid=example,ou=users,dc=github,dc=com"
  }
]