Delete user (/user) Print

  • delete, user
  • 0

If for any reason you need to delete a user this method will help you but BE CAREFUL! As this is an authenticated method, we don't ask for any verification so...be warned!

To delete a user simply send a DELETE request to https://nacp01.noraina.net/api/user and that's it.

curl --location --request DELETE 'https://nacp01.noraina.net/api/user' \
--header 'Content-Type: application/json' \
--header 'x-access-token: {{token}}' \
--data-raw ''

If everything went as expected, your user is gone and you will get a response like this one:

{
    "status": "success",
    "data": {
        "message": "Your user has been deleted."
    }
}

Was this answer helpful?

« Back