Sign inGet Started

bird amb suppressions list

Usage

Code example
bird amb suppressions list [flags]

Description

List the workspace's Apple Messages for Business suppressions (addresses blocked for one business account or for the whole workspace) as a cursor page.

Returns a paginated JSON envelope; narrow with the filters below and page with --limit and --starting-after.

Examples

Code example
bird amb suppressions list
bird amb suppressions list | jq -r '.data[].id'
bird amb suppressions list --limit 50 --starting-after <cursor>

Options

Filters

NameDescription
--addressReturn only suppressions for this exact address: a complete phone number, which is normalized to E.164 first, or an opaque identifier exactly as Apple supplied it. Prefix matching is unsupported, so a partial value returns an empty page.
--address-typeReturn only suppressions whose address is of this kind. Possible values: phone_number, opaque_user_id.
--business-account-idReturn only suppressions covering this business account, including the workspace-wide ones that stop it too. Omit for every account in the workspace.
--reasonReturn only suppressions with this reason: - manual: Added through the API or dashboard. - opted_out: The customer or Apple signaled they should not be contacted. Possible values: manual, opted_out.
--response-schemaPrint the fields this command returns, then exit

Pagination

NameDescription
--ending-beforeCursor from the prev_cursor or refresh_cursor field of a previous list response. Returns items immediately before the cursor position in the current sort order. prev_cursor returns the preceding page. refresh_cursor anchors at the first row of that response, which on a newest-first sort is how to fetch the items that have appeared since.
--limit <n>Maximum number of items to return per page. Allowed range: 1 to 100.
--starting-afterCursor from the next_cursor field of a previous list response. Returns items immediately after the cursor position in the current sort order.
NameDescription
bird amb suppressions addCreate an Apple Messages for Business suppression
bird amb suppressions getGet an Apple Messages for Business suppression
bird amb suppressions removeEnd an Apple Messages for Business suppression

Continue with the documentation, guides and examples for this topic.