/user/delete
DesigningPOST
/user/deleteLast modified: 2 months ago
Delete the currently-logged-in user. If this is the only user on the organization, the organization will be deleted as well.
This method must be submitted using HTTP POST.
Request
Body Params application/x-www-form-urlencoded
password
string
required
Example: mysecretpassword.
Request samples
Responses
An example Response(200)
An example Response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"status": {
"created_timestamp": 1673519242,
"created_string": "Thu 12 Jan 2023 @ 10:27 (GMT)",
"duration": 1.261,
"language": "en-gb",
"timezone": {
"timezone_type": 3,
"timezone": "Europe/London"
},
"code": 200,
"oldest_cached_component_age": 101,
"session_id": "236f007ee8af16f97f24f9e4ea073ec1",
"org_onboarding_status_id": 300,
"api_host": "anomalarm.dev.dropbox.dev.local",
"user_onboarding_flags": {
"main_intro": false,
"alerts_intro": false,
"alerts_from_search": false,
"training_intro": false,
"alert_created": false,
"test_alert_sent": false,
"two_alerts_sent": false,
"pattern_trained": false
}
},
"data": {
"success": true
}
}
Last modified: 2 months ago