Skip to content

Account deletion ​

Deleting your own account, in the app or on the web.

Delete your own account (confirm with the password) ​

DELETE /me

Access: Any signed-in person. Rate limit: up to 10 calls every 60 s per origin. Success status: 204.

Request body (ExcluirContaInput)

FieldTypeRequiredConstraintsDescription
senhaSenhayes

Response

No response body.

On error: ErroApi model.

Example

bash
curl -X DELETE "$API/me" -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" -d '{"senha":"texto"}'

Request account deletion on the web (step 1) ​

POST /publico/excluir-conta

Needs no sign-in. Always answers the same way, whether or not the account exists, so as not to reveal who is registered.

Access: Public (no sign-in). Rate limit: up to 5 calls every 60 s per origin. Success status: 202.

Request body (ExcluirContaSolicitarInput)

FieldTypeRequiredConstraintsDescription
emailEmailyes

Response

No response body.

On error: ErroApi model.

Example

bash
curl -X POST "$API/publico/excluir-conta" -H "Content-Type: application/json" -d '{"email":"texto"}'

Confirm account deletion via the link (step 2) ​

POST /publico/excluir-conta/confirmar

Access: Public (no sign-in). Rate limit: up to 10 calls every 60 s per origin. Success status: 204.

Request body (ExcluirContaConfirmarInput)

FieldTypeRequiredConstraintsDescription
tokenstringyes20–200 characters

Response

No response body.

On error: ErroApi model.

Example

bash
curl -X POST "$API/publico/excluir-conta/confirmar" -H "Content-Type: application/json" -d '{"token":"texto"}'

contato@presente.app.br