Delete a user profile
⚠️
Preview — this feature is being built; the design below is the spec.
DELETE https://app.syntic.ai/v1/user_profiles/{profile_id}Delete a profile. Sessions that used it keep their history. With delete_memories=true every memory under the profile’s scope is erased from every store in the workspace too, which is what a right-to-erasure request needs.
For how this fits into a full workflow, see User profiles.
Headers
| Header | Required | Value |
|---|---|---|
Authorization | Yes | Bearer <key>: a private inference key (sk_live_...). See Authentication. |
syntic-beta | Yes, while in preview | agents-2026-11-01. Without it the call fails with 400 beta_required. See Versioning. |
Path parameters
| Parameter | Type | Description |
|---|---|---|
profile_id | string | The profile id (uprof_...), or ext: followed by your external_id. |
Query parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
delete_memories | boolean | false | Also erase the person’s memories. |
Response
200 OK, Content-Type: application/json
{
"id": "uprof_01JCF5H7K9M1P3R5T7V9",
"type": "user_profile",
"deleted": true,
"memories_deleted": 64
}Examples
curl -sS -X DELETE "https://app.syntic.ai/v1/user_profiles/uprof_01JCF5H7K9M1P3R5T7V9?delete_memories=true" \
-H "Authorization: Bearer $SYNTIC_API_KEY" \
-H "syntic-beta: agents-2026-11-01"Errors
Errors use the error envelope and carry a request_id. Codes specific to this operation:
| Status | type | code | When |
|---|---|---|---|
| 400 | invalid_request_error | beta_required | The syntic-beta header is missing. |
| 404 | not_found_error | user_profile_not_found | No profile with this id or external id in the workspace. |
| 401 | authentication_error | invalid_api_key | The key is missing, unknown, revoked or expired. |
| 429 | rate_limit_error | rate_limited | Too many requests; wait for Retry-After. See Rate-limit headers. |
Was this page helpful?