provider orgs PUT /orgs/{org}/security-managers/teams/{team_slug}
@utdk/github /orgs/{org}/security-managers/teams/{team_slug}
Add a security manager team
> [!WARNING] > **Closing down notice:** This operation is closing down and will be removed starting January 1, 2026. Please use the "[Organization Roles](https://docs.github.com/rest/orgs/organization-roles)" endpoints instead.
org path required
The organization name. The name is not case sensitive.
string
team_slug path required
The slug of the team name.
string

Try it

Authentication
Configure credentials for GitHub v3 REST API
orgs.addSecurityManagerTeam
PUT/orgs/{org}/security-managers/teams/{team_slug}
> [!WARNING] > **Closing down notice:** This operation is closing down and will be removed starting January 1, 2026. Please use the "[Organization Roles](https://docs.github.com/rest/orgs/organization-roles)" endpoints instead.

Parameters

required

The organization name. The name is not case sensitive.

required

The slug of the team name.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import github from '@utdk/github';

await github.orgs.addSecurityManagerTeam()