Create an External Team
POST /api/0/teams/{organization_id_or_slug}/{team_id_or_slug}/external-teams/
Link a team from an external provider to a Sentry team.
Path Parameters
organization_id_or_slug(string)REQUIREDThe ID or slug of the organization the resource belongs to.
team_id_or_slug(string)REQUIREDThe ID or slug of the team the resource belongs to.
Body Parameters
external_name(string)REQUIREDThe associated name for the provider.
provider(string)REQUIREDThe provider of the external actor.
githubgithub_enterpriseslackgitlabmsteamscustom_scm
integration_id(integer)REQUIREDThe Integration ID.
external_id(string)The associated user ID for provider.
Scopes
You need to authenticate via bearer auth token.
<auth_token> requires one of the following scopes:team:adminteam:write
Copied
curl https://sentry.io/api/0/teams/{organization_id_or_slug}/{team_id_or_slug}/external-teams/ \ -H 'Authorization: Bearer <auth_token>' \ -H 'Content-Type: application/json' \ -d '{}'
RESPONSESCHEMA
Copied{ "externalId": "asdf", "externalName": "@team-foo", "provider": "slack", "integrationId": "1", "id": "1", "teamId": "2" }