/Docs
Search docs or ask a question⌘K
DocsAgent
Changelog
API Reference Delete Audience Profile

Delete Audience Profile

Delete an audience profile

DELETE/v1/projects/{projectId}/audiences/{profileId}Try it
Session token

Permanently delete an audience profile. All tokens generated for this profile will be invalidated immediately.

Note

Org membership is required. Being signed in is not enough: you must be a member of the organization that owns {projectId}. A project you cannot see returns 404, one you are not a member of returns 403 with the forbidden code — see Authentication.

Warning

Deleting a profile invalidates all tokens for that profile. Clients using those tokens will lose access to gated pages.

Path Parameters

NameDescription
projectId:stringpathRequired
The project ID.
profileId:stringpathRequired
The audience profile ID to delete.

Response

Returns a success confirmation.

Errors

StatusCodeWhen
401unauthorizedNo session token, or an API key
403forbiddenYou're not a member of the project's organization
404not_foundNo profile with this ID in the project (Audience profile not found)
Was this page helpful? Yes No
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl -X DELETE https://api.syntext.dev/v1/projects/proj_abc123/audiences/aud_xyz789 \
-H "Authorization: Bearer $SYNTEXT_JWT"
Responseapplication/json
json
{
"data": { "deleted": true }
}
Product
Resources
Company
© 2026 SyntextBuilt with Syntext