bird email inbound-addresses create
Usage
Ejemplo de código
bird email inbound-addresses create [flags]Description
Create an inbound address
Mint a new Bird inbound address to forward a mailbox to. Returns the address to forward to.
Build the request from flags, a JSON InboundAddressCreate 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.
Procedure
Step 1 of 2 of "Receive email at a Bird forward address". Next: bird email inbound-messages list.
Examples
Ejemplo de código
# print the body shape (no credentials needed)
bird email inbound-addresses create --example
# the body it prints:Ejemplo de código
{
"label": "Support mailbox"
}Options
Address
| Name | Description |
|---|---|
| --label | Your own label for this address, typically the source mailbox it maps to. |
Request
| Name | Description |
|---|---|
| --body-file | Read the JSON request body from this file; "-" reads stdin |
| --example | Print a complete example request body, then exit |
| --dry-run | Print the resolved request without sending it, then exit |
| --idempotency-key | Deduplication key; a retry with the same key won't act twice |
Options
| Name | Description |
|---|---|
| --response-schema | Print the fields this command returns, then exit |
Related
| Name | Description |
|---|---|
| bird email inbound-addresses delete | Delete an inbound address |
| bird email inbound-addresses get | Get an inbound address |
| bird email inbound-addresses list | List inbound addresses |
| bird email inbound-addresses update | Update an inbound address |