curl --request DELETE \
--url http://localhost/api/api/users/{id} \
--header 'Authorization: Bearer <token>'{
"name": "<string>",
"pk": 123,
"is_active": true
}Logical Deletion a user, When a user is deleted, the user will be marked as inactive, and the user will not be able to log in anymore, all of the user’s permissions will be removed, a possible email will be sent to the admin to notify that a user has been deleted
curl --request DELETE \
--url http://localhost/api/api/users/{id} \
--header 'Authorization: Bearer <token>'{
"name": "<string>",
"pk": 123,
"is_active": true
}JWT token obtained from AWS Cognito or custom authentication service
A unique integer value identifying this user.