Skip to content

May this account be deleted here — and if not, why

GET
/v1/me/deletion
curl --request GET \
--url https://beta-api.plune.ai/v1/me/deletion \
--cookie plune_session=<plune_session>

Account → Profile, the Danger zone (#952, api.ts → getDeletionCheck): read before anyone presses, so the page shows the button, or instead of it the reason, and the dialog says which companies would go with the account. refusal is null when the account may be deleted. application_owner: the account owns the application, and deleting it would leave nobody to own it. last_owner: the person is the owner of projects (personal or a company’s) or companies where other people work — each listed with everybody in it counted, oldest first; handing ownership over in each lifts it. companies: the companies nobody but the person is in, which go to the Bin with the account; projects: the projects of other companies nobody but the person is in, which go too (#1463). Session-only.

Whether the account may be deleted

Media type application/json
object
refusal
required

null when the account may be deleted.

object
error
string
code
required
string
Allowed values: application_owner last_owner
projects

last_owner only.

Array<object>

A project or a company the person is the last owner of while other people work in it (#952).

object
id
required
string
name
required
string
people
required

Everybody in it, the person included — live accounts only (one in the Bin is nobody); a company counts its members and the people of its live projects, once each.

integer
>= 2
companies

last_owner only.

Array<object>

A project or a company the person is the last owner of while other people work in it (#952).

object
id
required
string
name
required
string
people
required

Everybody in it, the person included — live accounts only (one in the Bin is nobody); a company counts its members and the people of its live projects, once each.

integer
>= 2
companies
required

The companies that would go to the Bin with the account, oldest first.

Array<object>

A company nobody but the person is in — no other member, nobody else in any of its live projects; an account in the Bin is nobody (#952). It goes to the Bin with the account, its live projects with it, under the account’s stamp.

object
id
required
string
name
required
string
projects
required

Its live projects, which go with it.

integer
projects
required

The projects of other companies that would go to the Bin with the account, oldest first (#1463).

Array<object>

A project of a company that stays, nobody but the person in it; an account in the Bin is nobody (#1463, operator 26.10.2026). It goes to the Bin with the account, as a personal project the person is alone in does.

object
id
required
string
name
required
string
company
required
object
id
required
string
name
required
string
Example
{
"refusal": {
"code": "last_owner",
"projects": [
{
"id": "3f6c1a2e-8b7d-4c1e-9a0f-5d2e7b4c9a11",
"name": "checkout",
"people": 3
}
],
"companies": [
{
"id": "9b2d4e6f-1a3c-4b5d-8e7f-0a1b2c3d4e5f",
"name": "Acme QA",
"people": 7
}
]
},
"companies": [
{
"id": "5c7e9a1b-3d5f-4a6b-8c9d-1e2f3a4b5c6d",
"name": "Side project",
"projects": 2
}
],
"projects": [
{
"id": "7d8e9f0a-1b2c-4d3e-8f4a-5b6c7d8e9f01",
"name": "spike",
"company": {
"id": "9b2d4e6f-1a3c-4b5d-8e7f-0a1b2c3d4e5f",
"name": "Acme QA"
}
}
]
}

No / invalid session