The Delete a User service removes a given user from the system.
{base_url}/users/{id}
DELETE
None
Path parameters:
Name | Type | Mandatory? | Constraints | Notes |
---|---|---|---|---|
id | int | yes | Internal unique ID assigned by the system. |
None
An empty data set.
Code | Description | Notes |
---|---|---|
200 | OK | - |
Request:
curl -XDELETE http://localhost:3000/users/6
Response:
{}