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
| Name | Description |
|---|---|
--address | Return 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-type | Return only suppressions whose address is of this kind. Possible values: phone_number, opaque_user_id. |
--business-account-id | Return only suppressions covering this business account, including the workspace-wide ones that stop it too. Omit for every account in the workspace. |
--reason | Return 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-schema | Print the fields this command returns, then exit |
Pagination
| Name | Description |
|---|---|
--ending-before | Cursor 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-after | Cursor from the next_cursor field of a previous list response. Returns items immediately after the cursor position in the current sort order. |
Related
| Name | Description |
|---|---|
bird amb suppressions add | Create an Apple Messages for Business suppression |
bird amb suppressions get | Get an Apple Messages for Business suppression |
bird amb suppressions remove | End an Apple Messages for Business suppression |
Related resources
Continue with the documentation, guides and examples for this topic.