The current scheduled-deletion status for the signed-in user.
GET
/api/users/me/deletion
const url = 'https://api.tradr.cloud/api/users/me/deletion';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.tradr.cloud/api/users/me/deletionAuthed. Returns the pending/scheduled deletion, or nulls when none exists, so the Account settings section can render its state.
Responses
Section titled “ Responses ”AccountDeletionStatus — { scheduledFor, state }, both null when no deletion is scheduled.
Media typeapplication/json
object
scheduledFor
string format: date-time
state
string
Example
{ "state": "pending"}No valid session.