StateSet ReSponse API Documentation
Embeddings
Attributes
Function Parameters
Channels
Users
Delete User
This endpoint deletes an existing user.
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
The ID of the user to delete.
Response
The ID provided in the data tab may be used to identify the return
The object type
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
}