Skip to content
gist.link ↗

markNotificationRead

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

Mark one of the current user’s notifications as read. Any authenticated user.

dashboard:mutation:markNotificationRead

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 {
markNotificationRead(uuid: String!): Notification!
}
Argument Type Required Description
uuid String! Yes —

Notification! — 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 MarkNotificationRead($uuid: String!) { markNotificationRead(uuid: $uuid) { uuid title created_at } }",
"variables": {
"uuid": "example"
}
}
JSON