Variants
Discard Variant
Discard a variant that is in approval-pending state. Only applicable for WhatsApp and SMS channels that require vendor approval. The variant returns to draft state.
PATCH
Discard Variant
Authorizations
You can get Service Token from SuprSend dashboard -> Account Settings -> Service Tokens section.
Path Parameters
Available options:
whatsapp, sms Query Parameters
Available options:
live Body
application/json
Reason for discarding the variant.
Example:
"Content needs revision before resubmission"
Response
Variant discarded successfully
The response is of type object.
Discard Variant