DELETE
/
v1
/
users
/
:id
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
}

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.