API DocsAPI Docs
delete/api/tokens/{id}
delete/api/tokens/{id}
删除个人访问令牌
Basic Information
Request Method:
delete
Request URL:
https://www.lycoo.com/api/tokens/{id}
Tags:
访问令牌管理
Description
删除指定的个人访问令牌
Path Parameters
Path Parameters Explanation
Path parameters are variables in the URL path, for example:
https://www.lycoo.com/api/tokens/:id
Parameter Name | Type | Required | Example Value | Description |
---|---|---|---|---|
id | string | Required | abc123 | 令牌ID |
Header Parameters
Header Parameters Explanation
Header parameters are used to pass additional information, such as authentication credentials, content type, etc.
Parameter Name | Type | Required | Example Value | Description |
---|---|---|---|---|
Authorization | string | Required | Bearer sha_1234567890abcdef... | The authentication header is used to verify the identity of API requests, containing an access token Format: Bearer {token} |
Response Example
200令牌删除成功
{
"success": true,
"message": "string"
}
401
404未找到指定令牌
500