Skip to main content

Deactivate My Campaign

DELETE 
/campaign/:campaignId

Terminate a campaign. Note that once deactivated, a campaign cannot be restored.

Request

Path Parameters

    campaignId Campaignidrequired

Responses

200: Successful Response

422: Validation Error

Request samples


curl -L -X DELETE 'https://api.telnyx.com/10dlc/campaign/:campaignId' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"time": 0,
"record_type": "string",
"message": "string"
}