curl --request POST \
--url https://api.pricenow.dev/api/accounts/current/schedule-deletion \
--header 'accept-language: <accept-language>' \
--header 'pratiq-channel-uuid: <pratiq-channel-uuid>'{
"data": {
"id": 123,
"email": "<string>",
"type": "ADMIN",
"language": "en",
"deletedAt": "2023-11-07T05:31:56Z",
"scheduledForDeletionAfter": "2023-11-07T05:31:56Z",
"company": "<string>",
"metaInformation": {
"acceptedNewsletter": true,
"syncErrorWrite": "<string>",
"syncErrorRead": "<string>"
}
}
}Schedule the deletion of the current account
curl --request POST \
--url https://api.pricenow.dev/api/accounts/current/schedule-deletion \
--header 'accept-language: <accept-language>' \
--header 'pratiq-channel-uuid: <pratiq-channel-uuid>'{
"data": {
"id": 123,
"email": "<string>",
"type": "ADMIN",
"language": "en",
"deletedAt": "2023-11-07T05:31:56Z",
"scheduledForDeletionAfter": "2023-11-07T05:31:56Z",
"company": "<string>",
"metaInformation": {
"acceptedNewsletter": true,
"syncErrorWrite": "<string>",
"syncErrorRead": "<string>"
}
}
}