Description
Deletes all information in the workspace of the request. This is a final operation and can't be undone. Any state left in the workspace due to an error is in an indeterminate state and shouldn't be trusted. Some non-private information may be kept for auditing and metric purposes.
DELETE
/api/v1/admin/account
Required OAuth Scopes:
No OAuth scopes are required to use this endpoint.
Code Samples
curl -X DELETE https://h.app.wdesk.com/s/wdata/prep/api/v1/admin/account \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
http DELETE https://h.app.wdesk.com/s/wdata/prep/api/v1/admin/account \
Accept:application/json \
Authorization:"Bearer {access-token}"
wget --method=DELETE "https://h.app.wdesk.com/s/wdata/prep/api/v1/admin/account" \
--output-document - \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {access-token}'
import requests
headers = {
'Accept': 'application/json',
'Authorization': 'Bearer {access-token}'
}
r = requests.delete('https://h.app.wdesk.com/s/wdata/prep/api/v1/admin/account', headers = headers)
print(r.json())
Returns
200 - OK
Returns a JSON object with a body
property, which contains the ID of the deleted resource.
Example Responses
{
"body": "string",
"code": "integer"
}