v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,4581,08113.3 MB
enterprise-admin

Add or update a Visual Studio subscription user match

Updates a manual match between a user and a Visual Studio subscription.

put/enterprises/{enterprise}/visual-studio-subscriptions/{visual_studio_subscription_id}

Path parameters

visual_studio_subscription_idstring required

The ID of the Visual Studio subscription to add or update the match for. This is a GUID that comes from the Visual Studio management portal.

enterprisestring required

The slug version of the enterprise name

Request body

user_identifierstring

The handle for the GitHub user account or a verified email associated with their account.

Response

Response

visual_studio_subscription_emailstring

The email associated with the Visual Studio subscription assignment in the visual studio portal.

subscription_idstring

The ID of the Visual Studio Subscription. This is a GUID that comes from the Visual Studio management portal.

usernamestring nullable

The GitHub username of the user associated with the Visual Studio subscription assignment.

manual_matchboolean

Indicates if the Visual Studio subscription assignment was manually matched to a user.

Example response

{
  "visual_studio_subscription_email": "vs-subscriber@example.com",
  "subscription_id": "00000000-0000-0000-0000-000000000000",
  "username": "gh-user",
  "manual_match": true
}