דלג לתוכן הראשי
DELETE
/
scenarios
/
manage
/
{scenarioId}
Delete Subscription
curl --request DELETE \
  --url https://{projectID}.texterchat.com/server/api/v2/scenarios/manage/{scenarioId} \
  --header 'Authorization: Bearer <token>'
{
  "error": "<string>"
}

הרשאות

Authorization
string
header
נדרש

API token generated in Texter: gear icon → Developers → API Tokens. When creating a token, assign it the scopes required by the endpoints you plan to call - each endpoint lists its required scopes.

פרמטרי נתיב

scenarioId
string
נדרש

The unique identifier of the subscription (scenario). Use List All Subscriptions to find it under scenarios[]._id

תגובה

Subscription deleted (empty body)