user
Delete a user
Deletes a user by their ID.
delete/users/{userId}
Request
- Base URLhttps://staging.api-golang.boilerplate.hng.tech/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
userIdstring required
ID of the user to delete
Response
User deleted successfully
Example response
{
"status": "success",
"status_code": 200
}Changes
No recorded changes to this operation across all 15 revisions of this API.