Skip to content
gist.link ↗

updateQuickNote

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

Update one of the current user’s quick notes. Any authenticated user.

dashboard:mutation:updateQuickNote

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 {
updateQuickNote(uuid: String!, body: String!): QuickNote!
}
Argument Type Required Description
uuid String! Yes —
body String! Yes —

QuickNote! — 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 UpdateQuickNote($uuid: String!, $body: String!) { updateQuickNote(uuid: $uuid, body: $body) { uuid created_at updated_at } }",
"variables": {
"uuid": "example",
"body": "example"
}
}
JSON