Skip to content
gist.link ↗

updateLauncherPreferences

Mutation Dashboard API — POST https://dashboard.api.gist.link/graphql

Upsert the current user’s launcher customization. Any authenticated user.

dashboard:mutation:updateLauncherPreferences

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

type Mutation {
updateLauncherPreferences(input: UpdateLauncherPreferencesInput!): LauncherPreference!
}
Argument Type Required Description
input UpdateLauncherPreferencesInput! Yes —

LauncherPreference! — see the Dashboard types reference.

Terminal window
curl https://dashboard.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation UpdateLauncherPreferences($input: UpdateLauncherPreferencesInput!) { updateLauncherPreferences(input: $input) { user_id organization_id favorites order hidden recents created_at updated_at } }",
"variables": {
"input": {
"favorites": [
"example"
],
"order": [
"example"
],
"hidden": [
"example"
]
}
}
}
JSON