Delete your account
curl --request DELETE \
--url https://api.runaether.dev/profile \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.runaether.dev/profile"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.runaether.dev/profile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.runaether.dev/profile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.runaether.dev/profile"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.runaether.dev/profile")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runaether.dev/profile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "session_auth_required",
"error": "<string>"
}{
"code": "team_ownership_transfer_required",
"error": "<string>",
"owned_org_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}Profile
Delete your account
Permanently deletes the caller’s own account and everything it owns: workspaces, tasks, projects, secrets, personal data, and the team organizations it alone belongs to.
Use this tool when you need to:
- Delete the caller’s Aether account for good
- Close the account once the team organizations it shares with other members are handed over or left to them
Examples:
- DELETE /profile
Hints:
- Takes no parameters and no body: the subject is always the caller’s own session, there is no target parameter and no undo.
- Answers 204 once the staged pipeline is enqueued; it then runs asynchronously and revokes every session, with no progress to poll.
- Each team organization the account owns and alone belongs to is torn down in the same pipeline, as deleteOrg tears one down, its subscription cancelled.
- Refused with 409 team_ownership_transfer_required, listing owned_org_ids, while the account owns a team organization another member belongs to, until it is handed to another member (updateOrgMemberRole with role owner) or its other members are removed (removeOrgMember).
- Refused with 409 pr_review_actor_reassignment_required, listing projects, while a team organization’s project reviews pull requests as the account, until an admin there chooses another review actor.
- Refused with 409 store_subscription_cancel_required, listing store_subscriptions, while a store subscription the account bought will still renew, until auto-renew is off in the store.
- The three 409s are checked in that order and only the first that applies is answered; a refused call writes nothing.
- Use leaveOrg instead to leave one team organization and keep the account.
- Requires session-authenticated credentials: a platform API key is refused with 403 credential_kind_not_admitted, and a JWT without a session with 403 session_auth_required. Once deletion has begun every authenticated request from the account, a repeat of this one included, is refused with 403 account_deleting.
DELETE
/
profile
Delete your account
curl --request DELETE \
--url https://api.runaether.dev/profile \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.runaether.dev/profile"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.runaether.dev/profile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.runaether.dev/profile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.runaether.dev/profile"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.runaether.dev/profile")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runaether.dev/profile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "session_auth_required",
"error": "<string>"
}{
"code": "team_ownership_transfer_required",
"error": "<string>",
"owned_org_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}