Skip to main content
DELETE
/
1
/
usertokens
/
{userToken}
curl
curl --request DELETE \
  --url https://insights.us.algolia.io/1/usertokens/test-user-1 \
  --header 'x-algolia-api-key: ALGOLIA_API_KEY' \
  --header 'x-algolia-application-id: ALGOLIA_APPLICATION_ID'
{
  "message": "<string>",
  "status": 123
}
Required ACL: deleteObject

Authorizations

x-algolia-application-id
string
header
required

Your Algolia application ID.

x-algolia-api-key
string
header
required

Your Algolia API key with the necessary permissions to make the request. Permissions are controlled through access control lists (ACL) and access restrictions. The required ACL to make a request is listed in each endpoint's reference.

Path Parameters

userToken
string
required

User token for which to delete all associated events. Anonymous or pseudonymous user identifier.

Don't use personally identifiable information in user tokens. For more information, see User token.

Required string length: 1 - 129
Example:

"test-user-1"

Response

No content.