Individual users API

DELETE - /api/v1/users/:id - Deleting

DELETE /api/v1/users/:id

Parameters

Name Description
id id
id id

Request

Headers

Accept: application/json
X-Api-Token: g5jKH3caAqpivMyVbkghnQzzHgwGsxD_Dg
X-Api-Email: user-306@example.com

Route

DELETE /api/v1/users/1412

Body

{}

cURL

curl "http://localhost:3000/api/v1/users/1412" -d '{}' -X DELETE \
	-H "Accept: application/json" \
	-H "X-Api-Token: g5jKH3caAqpivMyVbkghnQzzHgwGsxD_Dg" \
	-H "X-Api-Email: user-306@example.com" \
	-H "Content-Type: application/json" \
	-H "Host: school.worksonmy.computer"

Response

Status

204 No Content