App\Http\Controllers\Api\V1\Profile\ProfileController::destroy()api.v1.profile.destroyAuthorization: Bearer {token}DELETE/api/v1/profile200 OK{
"success": true,
"status": "success",
"message": "Account deleted successfully"
}data key. The token used for the call is already revoked by the time the response is read.401 Unauthorizedcurrent_password; deleting the whole account requires nothing beyond the token. Tokens live 90 days and do not rotate, so a token taken from a lost device can remove the account until it expires. This asymmetry is known and recorded; it is not something a client can work around, but a client should put a confirmation step in front of it.docs/api/profile/DELETE_account.mdcurl --location --request DELETE 'https://test.diveraid.com/api/v1/profile' \
--header 'Authorization: Bearer <token>'{
"status": "success",
"message": "string",
"data": null
}