Skip to content
gist.link ↗

updateSignature

Mutation Support API — POST https://support.api.gist.link/graphql

Update a reply signature; agentIds/groupIds, when given, replace its assignments. ROLE_ADMIN.

support:mutation:updateSignature

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

type Mutation {
updateSignature(id: Int!, input: UpdateSignatureInput!): Signature!
}
Argument Type Required Description
id Int! Yes —
input UpdateSignatureInput! Yes —

Signature! — see the Support types reference.

Terminal window
curl https://support.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation UpdateSignature($id: Int!, $input: UpdateSignatureInput!) { updateSignature(id: $id, input: $input) { id name created_at updated_at } }",
"variables": {
"id": 10,
"input": {
"name": "Example",
"body": "example",
"isDefault": true
}
}
}
JSON