DeleteUserPersonalAccessToken

更新时间:
复制 MD 格式

Enterprise administrators can call this API to delete an access token.

Supported editions

Enterprise Dedicated Edition

Service endpoints

Get the service endpoint and replace {domain} in the API request syntax with your endpoint.

Authorization information

Product

Resource

Required permission

Organization Management

User

Read and write

Request syntax

DELETE https://{domain}/oapi/v1/platform/users/admin/personalAccessTokens/{id}

Request description

Enterprise administrator deletes a specified personal access token

curl -X 'DELETE' \
  'https://test-domain-***.rdc.aliyuncs.com/oapi/v1/platform/users/admin/personalAccessTokens/pt-0fh3****0fbG' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Request headers (Headers)

x-yunxiao-token string (Required)

The access token. See Access token for details.

Example: pt-0fh3****0fbG_35af****0484.

Request parameters

id string (Required)

The unique access token ID. See the ListUserPersonalAccessTokens API for details.

Response parameters

None {}

Error codes

For more information, see Error codes.