End an Apple Messages for Business suppression
DELETE
/v1/amb/suppressions/{suppression_id}
const result = await bird.amb.suppressions.delete(
"asp_01krdgeqcxet5s7t44vh8rt9mg",
);
console.log(result);result = client.amb.suppressions.delete('asp_01krdgeqcxet5s7t44vh8rt9mg')
print(result)if err := client.Amb.Suppressions.Delete(ctx, "asp_01krdgeqcxet5s7t44vh8rt9mg"); err != nil {
log.Fatal(err)
}$bird->amb->suppressions->delete('asp_01krdgeqcxet5s7t44vh8rt9mg');bird amb suppressions delete <suppression-id> --yescurl -X DELETE "https://us1.platform.bird.com/v1/amb/suppressions/{suppression_id}" \
-H "Authorization: Bearer $TOKEN"Ends the suppression episode, so the handle can be messaged again. The episode itself is kept and stays readable by ID, recording when and how it ended. This does not delete history: dropping an episode from the list does not erase the record of when the handle was suppressed. An episode opened by a close also ends automatically when the same customer starts that conversation again, without any call to this endpoint; this endpoint can end an episode of any origin directly, at any time. Calling this again on an episode that has already ended succeeds and changes nothing; an ID that does not exist still returns 404.
Parameters
suppression_id
string
Gerelateerde bronnen
Ga verder met de documentatie, gidsen en voorbeelden voor dit onderwerp. De bronnen zijn in het Engels.
Begrijp het conceptShould I use a Bird SDK or call the API directly?Volg het leerpadBuild your first integrationImplementatiegidsSend your first email
Ontvang een implementatieoverzicht