Skip to main content

security_managers

Overview

Namesecurity_managers
TypeResource
Idgithub.orgs.security_managers

Fields

NameDatatypeDescription
idintegerUnique identifier of the team
namestringName of the team
descriptionstringDescription of the team
html_urlstring
ldap_dnstringDistinguished Name (DN) that team maps to within LDAP environment
members_urlstring
node_idstring
notification_settingstringThe notification setting the team has set
permissionstringPermission that the team will have for its repositories
privacystringThe level of privacy this team should have
repositories_urlstring
slugstring
urlstringURL for the team

Methods

NameAccessible byRequired ParamsDescription
list_security_manager_teamsSELECTorgLists 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.
remove_security_manager_teamDELETEorg, team_slugRemoves the security manager role from a team for an organization. For more information, see "Managing security managers in your organization team from an organization."

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

GitHub Apps must have the administration organization read-write permission to use this endpoint.
add_security_manager_teamEXECorg, team_slugAdds a team as a security manager for an organization. For more information, see "Managing security for an organization for an organization."

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

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