Skip to content
gist.link ↗

assignableUsers

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

User accounts a mailbox can be assigned to (from the auth service). ROLE_ADMIN.

settings:query:assignableUsers

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

type Query {
assignableUsers: [MailboxUser!]!
}

This query takes no arguments.

[MailboxUser!]! — 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": "query AssignableUsers { assignableUsers { id email name } }",
"variables": {}
}
JSON