Update an External User
PUT /api/0/organizations/{organization_id_or_slug}/external-users/{external_user_id}/
Update a user in an external provider that is currently linked to a Sentry user.
Path Parameters
organization_id_or_slug(string)REQUIREDThe ID or slug of the organization the resource belongs to.
external_user_id(integer)REQUIREDThe ID of the external user object. This is returned when creating an external user.
Body Parameters
user_id(integer)REQUIREDThe user ID in Sentry.
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.
id(integer)REQUIREDThe external actor 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:org:adminorg:write
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/external-users/{external_user_id}/ \
-H 'Authorization: Bearer <auth_token>' \
-X PUT \
-H 'Content-Type: application/json' \
-d '{}'RESPONSESCHEMA
{
"externalName": "@Billybob",
"provider": "github",
"userId": "1",
"integrationId": "1",
"id": "1"
}