Delete a member
DELETE
/users/{uid}users:write Enterprise
Deletes the member's account: they can no longer sign in, and their data is erased after a short grace period. The person is told by email. Their seat stays on your subscription unless automatic seats are on, when one is removed.
If your organisation requires projects to be transferred before an account is deleted, transfer them in the app first.
Path parameters
uidstringrequiredThe ID of a member of your organisation.
Responses
successbooleanrequiredAlwaystrue
Errors
A failed request answers with one of these, in an Error body.
401
unauthorized_actionThe item is not on your account or your members', the request came from a web page on a website the key does not allow, or the action is not allowed for this person.403
insufficient_scopeThe key does not have the access this endpoint needs. Create a key with that access.409
enterprise_transfer_requiredYour organisation requires a member's projects to be transferred before their account is deleted. Transfer them in the app first.Try it
This key is
The key stays in this tab and goes only to the API. Use a sandbox key while you try things: requests are real, and what they change is changed.
The ID of a member of your organisation.
DELETE https://api.measuremaponline.com/api/v1/users/m3K8qZxLpV4NrT2wFill in your API key to send.
As a cURL command
curl -X DELETE 'https://api.measuremaponline.com/api/v1/users/m3K8qZxLpV4NrT2w' \
-H "Authorization: $MMO_API_KEY"