-
Notifications
You must be signed in to change notification settings - Fork 0
Users_delete
Luigi Minardi edited this page Mar 3, 2022
·
2 revisions
Delete user with specified pk from database.
This endpoint need login.
This endpoint is Admin Only.
After beign logged in as an administrator, go to the endpoint and you'll get the response.
If you're using postman or insomnia to check the API remember to put the token of the logged user on the
header
, asAuthorization: Bearer <token>
.
{
"msg": "User with id 2 was deleted."
}