DELETE /sms/v1/keyword/{keyword}/{longCode}

Overview

Deletes a keyword on an account given a keyword and long code.

JSON Parameters

<!--complex table-->
Name Type Description
keyword string The keyword that will be deleted
longCode string The long code of the keyword that will be deleted

Usage

Example Request

Host: https://YOUR_SUBDOMAIN.rest.marketingcloudapis.com
DELETE /sms/v1/keyword
Content-Type: application/json
Authorization: Bearer YOUR_ACCESS_TOKEN

{
    "LongCode": "5550003232",
    "Keyword": "TEST"
}

Example Response

HTTP/1.1 202 Accepted
{
    "Status": "SUCCESS Keyword with id alm5LXNSSktGMGluRznRb1Rb1R5MDZFQTo4Njow was successfully delete."
}