Skip to main content
PATCH
Discard Variant

Authorizations

ServiceToken <token>
string
header
required

You can get Service Token from SuprSend dashboard -> Account Settings -> Service Tokens section.

Path Parameters

workspace
string
required
template_slug
string
required
channel
enum<string>
required
Available options:
whatsapp,
sms
variant_id
string
required

Query Parameters

mode
enum<string>
default:live
Available options:
live

Body

application/json
comment
string
required

Reason for discarding the variant.

Example:

"Content needs revision before resubmission"

Response

Variant discarded successfully

The response is of type object.