Skip to main content
DELETE
/
demo
/
session
Delete demo session
curl --request DELETE \
  --url https://api.structural.app/api/v1/demo/session \
  --header 'Authorization: Bearer <token>'
{
  "error": {
    "type": "AUTHENTICATION_ERROR",
    "message": "Invalid or missing API key",
    "request_id": "req_a1b2c3d4e5f6"
  }
}
Revokes the calling API key and deletes the entire demo customer with all dependent data - connections, entity mappings, canonical objects, and platform objects. Deletion cascades through the database; there is nothing left to clean up. Returns 204 No Content on success with no response body. The API key used to make this call is no longer valid after it completes.

Authorizations

Authorization
string
header
required

API key passed as a Bearer token. Keys are prefixed: sk_demo_* (sandbox), sk_live_* (production), sk_test_* (staging).

Response

Demo session deleted