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
- application/json
422: Validation Error
- application/json
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"
}
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}