Pats - Revoke
Revokes a personal access token (PAT) by authorizationId.
HTTP
DELETE https://vssps.dev.azure.com/{organization}/_apis/tokens/pats?authorizationId={authorizationId}&api-version=7.0-preview.1
Name | In | Required | Type | Description |
---|---|---|---|---|
organization
|
path | True |
string |
The name of the Azure DevOps organization. |
api-version
|
query | True |
string |
Version of the API to use. This should be set to '7.0-preview.1' to use this version of the api. |
authorization
|
query | True |
string uuid |
The authorizationId identifying a single, unique personal access token (PAT) |
Name | Type | Description |
---|---|---|
200 OK |
successful operation |
Personal access token. Use any value for the user name and the token as the password.
Type:
basic
Sample request
HTTP
DELETE https://vssps.dev.azure.com/{organization}/_apis/tokens/pats?authorizationId=cf42cc9f-f170-4375-92ba-c13d58a6545f&api-version=7.0-preview.1
Sample response
JSON
{}