Delete administrator

Delete administrator

Delete a standard administrator from your organization. While the email address for the super administrator can be changed, the super administrator account cannot be deleted. Standard administrators (dispatchers) can be deleted.

curl -X DELETE "https://onfleet.com/api/v2/admins/8AxaiKwMd~np7I*YP2NfukBE" \
       -u "<your_api_key>"
onfleet.administrators.deleteOne(id="8AxaiKwMd~np7I*YP2NfukBE")
onfleet.administrators.deleteOne("8AxaiKwMd~np7I*YP2NfukBE");
$onfleet->administrators->deleteOne("8AxaiKwMd~np7I*YP2NfukBE");
HTTP/1.1 200 OK

A successful deletion returns a 200 OK status with an empty response body. If the administrator ID does not exist or is improperly formatted, an error will be returned instead.