Users
Delete User
This endpoint deletes an existing user.
DELETE
/v1/users/:id
Bearer*
Body
id
string
The ID of the user to delete.
Response
id
string
The ID provided in the data tab may be used to identify the return
object
string
The object type
success
number
Indicates whether the call was successful. 1 if successful, 0 if not.
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
}