Skip to content
gist.link ↗

updateForwarder

Mutation Mail API — POST https://mail.api.gist.link/graphql

Pause/resume a forwarder or change what happens to the local copy.

mail:mutation:updateForwarder

The calling IAM key must hold this permission (or a wildcard that covers it: mail:mutation:* or mail:*) and the access token must have been minted with audience=mail. See Permissions.

type Mutation {
updateForwarder(uuid: String!, input: UpdateForwarderInput!): Forwarder!
}
Argument Type Required Description
uuid String! Yes —
input UpdateForwarderInput! Yes —

Forwarder! — see the Mail types reference.

Terminal window
curl https://mail.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation UpdateForwarder($uuid: String!, $input: UpdateForwarderInput!) { updateForwarder(uuid: $uuid, input: $input) { uuid mailbox_uuid destination keep_mode active verified automation_workflow_uuid created_at } }",
"variables": {
"uuid": "example",
"input": {
"active": true,
"keep_mode": "example"
}
}
}
JSON