Management APIManagement PAT integration and migration
⚠️Compliance notice: Use this project only for lawfully authorized API gateway, internal management, and private deployment scenarios. Follow upstream terms of service, platform rules, regulatory requirements, and content safety requirements.
Revoke a PAT
Requires an access_token.revoke proof with exactly {"token_id": positive integer} as context.
AuthorizationBearer <token>
Use the session access_token returned by password or OAuth sign-in. A PAT cannot manage or create PATs.
In: header
Path Parameters
idinteger
Format
int64Range
1 <= valueHeader Parameters
X-Security-Proofstring
Short-lived, single-use security proof bound to the current identity and exact operation. It is neither a PAT nor a model API key.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://api.beeaicloud.com/api/user/access_tokens/1" \ -H "X-Security-Proof: string"{
"success": true,
"message": "string",
"data": null
}{
"success": false,
"message": "string",
"code": "string",
"data": {
"code": "string"
}
}{
"success": false,
"message": "string",
"code": "string",
"data": {
"code": "string"
}
}{
"success": false,
"message": "string",
"code": "string",
"data": {
"code": "string"
}
}{
"success": false,
"message": "string",
"code": "string",
"data": {
"code": "string"
}
}How is this guide?