SwiftGoma.SwiftGoma

Search endpoints

Jump to any API endpoint by name, method, or path

Profile

Delete account

POST/api/v1/users/delete

Deletes the signed-in user's own account. If the account has a password, it must be confirmed first. The account can be recovered within a grace period via the account recovery flow.

Requires Authorization
Credential check

Body parameters

currentPasswordstring
Required if the account has a password set.
reasonstring
Optional free-text reason for leaving.
localestring
en or fr — controls the confirmation email language.

Possible errors

401UNAUTHORIZEDLe mot de passe actuel est incorrect.

Notes

  • All active sessions are revoked immediately.
  • Clears the web session cookies in the response.
Request
curl --request POST \
  --url https://api.swiftgoma.com/api/v1/users/delete \
  --header 'Authorization: Bearer <access_token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "currentPassword": "••••••••",
  "reason": "<reason>",
  "locale": "fr"
}'
200Example response
{
  "success": true,
  "data": {
    "message": "Votre compte a été supprimé. Vous pouvez le récupérer dans les 30 jours."
  }
}