Delete Account
curl --request DELETE \
--url https://api.agentpowers.ai/v1/users/me \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"confirmation": "<string>"
}
'import requests
url = "https://api.agentpowers.ai/v1/users/me"
payload = { "confirmation": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({confirmation: '<string>'})
};
fetch('https://api.agentpowers.ai/v1/users/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}users
Delete Account
Request account deletion with 30-day grace period.
Requires confirmation string “delete my account”. Returns 409 if blockers exist, 403 if account is held.
DELETE
/
v1
/
users
/
me
Delete Account
curl --request DELETE \
--url https://api.agentpowers.ai/v1/users/me \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"confirmation": "<string>"
}
'import requests
url = "https://api.agentpowers.ai/v1/users/me"
payload = { "confirmation": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({confirmation: '<string>'})
};
fetch('https://api.agentpowers.ai/v1/users/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Provide a Clerk JWT or a long-lived CLI token (prefix ap_cli_). Pass as Authorization: Bearer <token>.
Body
application/json
Request body for account deletion.
Response
Successful Response
The response is of type Response Delete Account V1 Users Me Delete · object.
Was this page helpful?