StateSet ReSponse API Documentation
Embeddings
Attributes
Function Parameters
Channels
Users
Delete User
This endpoint deletes an existing user.
DELETE
/
v1
/
users
/
:id
Copy
Ask AI
curl --location --request DELETE 'https://api.stateset.com/v1/users/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id: "1234",
}'
Copy
Ask AI
{
"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.
Copy
Ask AI
curl --location --request DELETE 'https://api.stateset.com/v1/users/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id: "1234",
}'
Copy
Ask AI
{
"id": "1234",
"object": "user",
"deleted": true
}
Copy
Ask AI
curl --location --request DELETE 'https://api.stateset.com/v1/users/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id: "1234",
}'
Copy
Ask AI
{
"id": "1234",
"object": "user",
"deleted": true
}
Assistant
Responses are generated using AI and may contain mistakes.