Overview
Deletes a keyword on an account given a keyword, short code, and country code.
JSON Parameters
<!--complex table-->| Name | Type | Description | |
|---|---|---|---|
| keyword | string | The keyword that will be deleted | |
| shortCode | string | The short code of the keyword that will be deleted | |
| countryCode | string | The two letter country code specifying the country that short code belongs to |
Usage
Example Request
Host: https://YOUR_SUBDOMAIN.rest.marketingcloudapis.com
DELETE /sms/v1/keyword
Content-Type: application/json
Authorization: Bearer YOUR_ACCESS_TOKEN
{
"ShortCode": "89239",
"Keyword": "TEST",
"CountryCode": "US"
}
Example Response
HTTP/1.1 202 Accepted
{
"Status": "SUCCESS Keyword with id alm5LXNSSktGMGluRznRb1Rb1R5MDZFQTo4Njow was successfully delete."
}