Access Tokens - Delete
Deletes an access-token for the account with given access-token id. Authorization required is Bearer JWT Access token provided by EntraID.
DELETE {endpoint}/accounts/{accountId}/access-tokens/{accessTokenId}?api-version=2024-12-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
access
|
path | True |
string (uuid) maxLength: 64pattern: [A-Za-z0-9]+(-[A-Za-z0-9]+)+ |
The access-token id. |
account
|
path | True |
string maxLength: 64pattern: [A-Za-z0-9]+(_[A-Za-z0-9]+)*(-[A-Za-z0-9]+)+ |
The account id. |
endpoint
|
path | True |
string |
Supported Azure Playwright Service API Endpoints (protocol and hostname, for example: https://{region}.api.playwright.microsoft.com). |
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
Request Header
Name | Required | Type | Description |
---|---|---|---|
x-ms-client-request-id |
string (uuid) |
An opaque, globally-unique, client-generated string identifier for the request. |
Responses
Name | Type | Description |
---|---|---|
204 No Content |
There is no content to send for this request, but the headers may be useful. Headers x-ms-client-request-id: string |
|
Other Status Codes |
An unexpected error response. Headers x-ms-error-code: string |
Security
OAuth2Auth
Type:
oauth2
Flow:
accessCode
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Token URL:
https://login.microsoftonline.com/common/v2.0/oauth2/token
Scopes
Name | Description |
---|---|
https://playwright.microsoft.com/.default |
Examples
AccessTokens_Delete
Sample request
DELETE {endpoint}/accounts/sampleAccountId_00000000-0000-0000-0000-000000000000/access-tokens/00000000-0000-0000-0000-000000000000?api-version=2024-12-01
Sample response
Definitions
Name | Description |
---|---|
Azure. |
The error object. |
Azure. |
A response containing error details. |
Azure. |
An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#handling-errors. |
Azure.Core.Foundations.Error
The error object.
Name | Type | Description |
---|---|---|
code |
string |
One of a server-defined set of error codes. |
details |
An array of details about specific errors that led to this reported error. |
|
innererror |
An object containing more specific information than the current object about the error. |
|
message |
string |
A human-readable representation of the error. |
target |
string |
The target of the error. |
Azure.Core.Foundations.ErrorResponse
A response containing error details.
Name | Type | Description |
---|---|---|
error |
The error object. |
Azure.Core.Foundations.InnerError
An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#handling-errors.
Name | Type | Description |
---|---|---|
code |
string |
One of a server-defined set of error codes. |
innererror |
Inner error. |