DELETE
/
v1
/
content-sessions
/
:id
# Delete a content session
curl https://api.usertour.io/v1/content-sessions/cmaavyi16003twg0bgimbcdnr \
-X DELETE \
-H 'Authorization: Bearer ak_123456789' \
-H 'Content-Type: application/json'
{
  "id": "cmaavyi16003twg0bgimbcdnr",
  "object": "contentSession",
  "deleted": true
}

Path Parameters

id
string
required

The unique identifier of the content session to delete.

Response

Returns a deletion confirmation object with the following fields:

id
string

The unique identifier of the deleted content session.

object
string

String representing the object’s type. Always set to contentSession.

deleted
boolean

Indicates the success of the deletion operation. Always true when the request succeeds.

# Delete a content session
curl https://api.usertour.io/v1/content-sessions/cmaavyi16003twg0bgimbcdnr \
-X DELETE \
-H 'Authorization: Bearer ak_123456789' \
-H 'Content-Type: application/json'
{
  "id": "cmaavyi16003twg0bgimbcdnr",
  "object": "contentSession",
  "deleted": true
}