Delete a User Profile - User Profile
Delete a User Profile
Soft-deletes the profile — sets status to "deleted" and records a deletedAt timestamp. The record remains in the database but is excluded from all queries.
curl -X POST "$KALTURA_USER_PROFILE_URL/user-profile/delete" \
-H "Authorization: Bearer $KALTURA_KS" \
-H "Content-Type: application/json" \
-d "{\"id\": \"$PROFILE_ID\"}"
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Profile ID to delete |
Response: Empty body on success (HTTP 200). Returns USER_PROFILE_NOT_FOUND if the ID does not exist.
After soft-deletion, a new profile can be created for the same userId + appGuid combination. The deleted profile's deletedAt timestamp makes it unique in the database, allowing the new profile.
When a KalturaUser is deleted from your account, all of their non-deleted user profiles across all apps are automatically soft-deleted.