pods
Pods group inboxes, domains and webhooks. The `machinemail pods` commands: arguments, flags, examples and the API routes they call.
Pods group inboxes, domains and webhooks. Also spelled pod.
| Command | Summary |
|---|---|
pods create | Create pod |
pods delete | Delete pod |
pods get | Get pod |
pods list | List pods |
pods update | Update pod |
Every command also takes the global flags.
pods create
Create pod.
Organization-scoped credentials only: pod and inbox credentials get 403.
Requires the pod_create permission.
Flags
--name <value>stringName of the pod. Default Untitled pod.
--client-id <id>stringIdempotency key: a create with a --client-id already used in the organization returns that pod with 200.
-d, --data <json|@file|->stringRequest body as JSON, @file or - for stdin; field flags override its keys.
Examples
API
pods delete
Delete pod.
Also: machinemail pods rm.
The default pod, and pods that still have inboxes, cannot be deleted (409).
Requires the pod_delete permission.
Arguments
<pod-id>stringRequiredID of the pod.
Examples
API
pods get
Get pod.
Requires the pod_read permission.
Arguments
<pod-id>stringRequiredID of the pod.
Examples
API
pods list
List pods.
Also: machinemail pods ls.
Requires the pod_read permission.
Flags
--limit <n>integerMaximum number of items to return. Default 50, maximum 500; larger values are capped.
--page-token <value>stringnext_page_token from the previous page.
--ascendingbooleanSort oldest first.
--allbooleanFollow next_page_token and return every page.
Examples
API
pods update
Update pod.
Rename the pod.
Requires the pod_update permission.
Arguments
<pod-id>stringRequiredID of the pod.
Flags
--name <value>stringNew name. Must not be blank.
-d, --data <json|@file|->stringRequest body as JSON, @file or - for stdin; field flags override its keys.