Update an External Team
PUT /api/0/teams/{organization_id_or_slug}/{team_id_or_slug}/external-teams/{external_team_id}/
Update a team in an external provider that is currently linked to a Sentry team.
Path Parameters
- organization_id_or_slug(string)REQUIRED
- The ID or slug of the organization the resource belongs to. 
- team_id_or_slug(string)REQUIRED
- The ID or slug of the team the resource belongs to. 
- external_team_id(integer)REQUIRED
- The ID of the external team object. This is returned when creating an external team. 
Body Parameters
- external_name(string)REQUIRED
- The associated name for the provider. 
- provider(string)REQUIRED
- The provider of the external actor. - github
- github_enterprise
- slack
- gitlab
- msteams
- custom_scm
 
- integration_id(integer)REQUIRED
- The 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:admin
- team:write
Copied
curl https://sentry.io/api/0/teams/{organization_id_or_slug}/{team_id_or_slug}/external-teams/{external_team_id}/ \ -H 'Authorization: Bearer <auth_token>' \ -X PUT \ -H 'Content-Type: application/json' \ -d '{}'
RESPONSESCHEMA
Copied{ "externalId": "asdf", "externalName": "@team-foo", "provider": "slack", "integrationId": "1", "id": "1", "teamId": "2" }