API reference
SetShortLinkDisabled
Enable or disable a short link. Write access, forms toolset, MCP tool set_short_link_disabled. Part of the MISSIN public API: call it with an API key, or from…
Access: Write
Variables
| Variable | Type | Required | Accepts | Description |
|---|---|---|---|---|
input | SetShortLinkDisabledInput! | yes | Input object, below |
Input types
SetShortLinkDisabledInput
| Field | Type | Required | Accepts | Description |
|---|---|---|---|---|
disabled | Boolean! | yes | True revokes it now; false puts it back. | |
shortLinkId | UUID! | yes | The row, not the code — the code is the public half and is already shared. |
Call it
bash
curl https://api.missin.co.uk/graphql/v1 \
-H "Authorization: Bearer $MISSIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"operationName":"SetShortLinkDisabled","variables":{"input":{"disabled":false,"shortLinkId":"00000000-0000-0000-0000-000000000000"}},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"08173cd58ad27bff6a8e282b62cb756b27a3b295accf2dd10923e4bbda0985eb"}}}'Document
graphql
mutation SetShortLinkDisabled($input: SetShortLinkDisabledInput!) { __typename setShortLinkDisabled(input: $input) { __typename disabledAt shortLinkId userErrors { __typename code field message } } }