Documentation
Sign inGet started

bird sms suppressions add

Usage

Codebeispiel
bird sms suppressions add [flags]

Description

Create an SMS suppression
Stop one of your senders from messaging one subscriber. Covers that sender only; your other senders keep reaching them.
Build the request from flags, a JSON SMSSuppressionCreate body via --body-file ("-" reads stdin), or both — a flag overrides the matching body field. Run --example to print a ready-to-edit body, or --dry-run to print the resolved request without sending it.

Examples

Codebeispiel
# print the body shape (no credentials needed)
bird sms suppressions add --example

# the body it prints:
Codebeispiel
{
  "destination": "+15550001234",
  "originator": "+15557654321"
}

Options

Request

NameDescription
--body-fileRead the JSON request body from this file; "-" reads stdin
--examplePrint a complete example request body, then exit
--dry-runPrint the resolved request without sending it, then exit
--idempotency-keyDeduplication key; a retry with the same key won't act twice

Options

NameDescription
--destinationThe subscriber to stop messaging, in E.164 format.
--originatorThe sender to stop. Your other senders keep reaching this subscriber, so stopping every one of them means one call per sender.
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird sms suppressions getGet an SMS suppression
bird sms suppressions listList SMS suppressions
bird sms suppressions removeDelete an SMS suppression