ComRaidComRaid Docs
API referenceMobile

Make a subscription Inactive

Marks the Subscription Inactive (`is_active=false`) and clears its subscription credential so the old row cannot be reused. The SDK must immediately register a fresh Subscription on a new Anonymous contact. Requires a matching subscription_credential (credential-less Endpoints return 401).

POST
/mobile/subscriptions/{id}/logout

Marks the Subscription Inactive (is_active=false) and clears its subscription credential so the old row cannot be reused. The SDK must immediately register a fresh Subscription on a new Anonymous contact. Requires a matching subscription_credential (credential-less Endpoints return 401).

Authorization

mobileAppId
headerX-ComRaid-App-Id<token>

Publishable mobile app id (cr_app_...)

Path Parameters

id*string
Formatuuid

Request Body

application/json
  1. body
subscription_credential?string

Response Body

Logged out

application/json
  1. response
subscription_id*string
Formatuuid
active*false

Always false; Logout makes the Subscription Inactive

Value infalse
verified*false
Value infalse
Example Request
curl -X POST 'https://api.comraid.io/mobile/subscriptions/497f6eca-6276-4993-bfeb-53cbbbba6f08/logout' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "subscription_id": "0a1b2c3d-4e5f-6789-abcd-ef0123456789",  "active": false,  "verified": false}