Skip to Content
SendlySendly
API ReferenceAccount

Schedule the account for deletion in 30 days

DELETE
/api/users/me

Pauses every project the user owns, ends their sessions and disconnects their connected apps at once. The account and the projects it owns are deleted 30 days later; signing in again before then cancels the deletion.

Requires the account:write scope — Edit your profile and preferences, export your data, delete your account.

cookiebetter-auth.session_token<token>

BetterAuth session cookie. Used by the dashboard / browser clients. When present, the active project is taken from the x-project-id header.

application/json
  1. body
confirmEmail*string

The account email, typed by the user.

Response Body

OK

application/json
  1. response
success*true
Value intrue
deletionScheduledAt*string
Formatdate-time
purgeAfter*string

Signing in again before this cancels the deletion.

Formatdate-time
storeSubscription*|

A Sendly Pro the App Store or Google Play sold, which deleting the account does not cancel; null when there is none. Tell the person the message.

Example Request
curl -X DELETE 'https://api.sendly.now/api/users/me' \  -H 'Content-Type: application/json' \  -d '{  "confirmEmail": "string"}'
Example Response
{  "success": true,  "deletionScheduledAt": "2019-08-24T14:15:22Z",  "purgeAfter": "2019-08-24T14:15:22Z",  "storeSubscription": {    "store": "app_store",    "message": "string"  }}