Adds 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.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request PUT 'https://api.github.com/orgs//security-managers/teams/'
Response Response Example
204 - Example 1
{}
Request
Path Params
org
stringÂ
required
The organization name. The name is not case sensitive.
team_slug
stringÂ
required
The slug of the team name.
Responses
🟢204Response
application/json
Body
object {0}
🟠409The organization has reached the maximum number of security manager teams.