A user represents an end-user accessing the MX Platform API via your application, be it a mobile app, web app, desktop app, etc.
Endpoint: DELETE
/users/:user_guid
This endpoint is used to delete the specified user. The response will have a status of 204 No Content without an object.
curl -X DELETE /users/:user_guid \\
-H 'Content-Type: application/json' \\
-H "Authorization: Bearer {access_token}" \\
Endpoint: GET
/users/:user_guid
This endpoint will return the details of the specified user.
curl -X GET /users/:user_guid \\
-H 'Content-Type: application/json' \\
-H "Authorization: Bearer {access_token}"
{
"user": {
"guid": "USR-29eab3cf-6a87-fe97-6279-563b63e75a53",
"id": "098345869540",
"email": "[email protected]",
"is_disabled": false,
"metadata": null
}
}