Skip to content
gist.link ↗

removeDomain

Mutation Settings API — POST https://settings.api.gist.link/graphql

Remove a domain here and deprovision it with the email provider. ROLE_ADMIN.

settings:mutation:removeDomain

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

type Mutation {
removeDomain(uuid: String!): Domain!
}
Argument Type Required Description
uuid String! Yes —

Domain! — see the Settings types reference.

Terminal window
curl https://settings.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation RemoveDomain($uuid: String!) { removeDomain(uuid: $uuid) { uuid status created_at updated_at } }",
"variables": {
"uuid": "example"
}
}
JSON