HydraCore
API by router

Demo

Activate Demo

Switch user to demo tenant. Stores real tenant_id for restore. "I feel the need... the need for speed." — Maverick, Top Gun

POST
/v1/demo/activate
AuthorizationBearer <token>

In: header

Response Body

curl -X POST "https://loading/v1/demo/activate"
{
  "demo_tenant_name": "string",
  "is_demo_mode": true,
  "real_tenant_id": "string"
}

Deactivate Demo

Switch user back to their real tenant. "I'll be back." — T-800, The Terminator (to your real data)

POST
/v1/demo/deactivate
AuthorizationBearer <token>

In: header

Response Body

curl -X POST "https://loading/v1/demo/deactivate"
{
  "demo_tenant_name": "string",
  "is_demo_mode": true,
  "real_tenant_id": "string"
}

Get Demo Status

Check if user is currently in demo mode. "Are you not entertained?" — Maximus, Gladiator

GET
/v1/demo/status
AuthorizationBearer <token>

In: header

Response Body

curl -X GET "https://loading/v1/demo/status"
{
  "demo_tenant_name": "string",
  "is_demo_mode": true,
  "real_tenant_id": "string"
}