DELETE
/
api
/
v1
/
outbound
/
batches
/
{batch_id}
import os
from syllable_sdk import SyllableSDK


with SyllableSDK(
    api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:

    res = ss_client.outbound.batches.delete(batch_id="<id>", body_outbound_batch_delete={
        "delete_reason": "<value>",
    })

    # Handle response
    print(res)
"<any>"

Authorizations

Syllable-API-Key
string
header
required

Path Parameters

batch_id
string
required

Body

application/x-www-form-urlencoded
delete_reason
string
required

Response

200
application/json
Successful Response

The response is of type any.