v68

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,21696712.3 MB
orgs

List security manager teams

[!WARNING] Closing down notice: This operation is closing down and will be removed starting January 1, 2026. Please use the "Organization Roles" endpoints instead.

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

notification_settingstring

The notification setting the team has set

html_urlstring uri required
repositories_urlstring uri required
slugstring required
ldap_dnstring

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

type'enterprise' | 'organization' required

The ownership type of the team

organization_idinteger

Unique identifier of the organization to which this team belongs

enterprise_idinteger

Unique identifier of the enterprise to which this team belongs

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",
    "notification_setting": "notifications_enabled",
    "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",
    "organization_id": 37,
    "enterprise_id": 42
  }
]