Measure MapAPI

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

  • uidstringrequired
    The ID of a member of your organisation.

Responses

  • Success:

    • successbooleanrequired
      Alwaystrue

Errors

A failed request answers with one of these, in an Error body.

400invalid_uidThe person's ID in the path is missing or blank.
401unauthorized_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.
403insufficient_scopeThe key does not have the access this endpoint needs. Create a key with that access.
403scope_not_in_planYour plan does not include this endpoint, for example members on Open Guest.
404user_not_foundThe person does not exist or is not a member of your organisation.
409enterprise_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/m3K8qZxLpV4NrT2w

Fill in your API key to send.

As a cURL command
Shell
curl -X DELETE 'https://api.measuremaponline.com/api/v1/users/m3K8qZxLpV4NrT2w' \
  -H "Authorization: $MMO_API_KEY"