Skip to main content

Delete User

This endpoint deletes an existing user.

DELETE/api/user
Example Request
curl --location --request DELETE 'https://api.mintlify.com/api/user' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
		"user_group_id": "example_1"
		"current_token": "abcdef"
}'
Response
{
  "success": 1
}

Body

data_source_provided_idstring

The data source ID provided in the data tab may be used to identify the data source for the user group

current_tokenstring

This is the current user group token you have for the user group you want to delete

Response

successnumber

Indicates whether the call was successful. 1 if successful, 0 if not.