curl --location --request DELETE 'https://api.stateset.com/v1/users/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id: "1234",
}'
{
"id": "1234",
"object": "user",
"deleted": true
}
This endpoint deletes an existing user.
curl --location --request DELETE 'https://api.stateset.com/v1/users/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id: "1234",
}'
{
"id": "1234",
"object": "user",
"deleted": true
}
curl --location --request DELETE 'https://api.stateset.com/v1/users/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id: "1234",
}'
{
"id": "1234",
"object": "user",
"deleted": true
}