Skip to main content
PUT
/
api
/
core
/
use-cases
/
{use_case_id}
/
qr-link
/
magic-links
/
{token_id}
/
scope
Update knowledge-asset scope for one QR magic link
curl --request PUT \
  --url https://api.example.com/api/core/use-cases/{use_case_id}/qr-link/magic-links/{token_id}/scope \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "knowledge_asset_ids": [
    "<string>"
  ],
  "expires_at": "2023-11-07T05:31:56Z"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.genow.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token authentication. Format: 'Bearer '

Path Parameters

use_case_id
string
required
token_id
string
required

Body

application/json
knowledge_asset_ids
string[]
expires_at
string<date-time> | null

When set, the magic link stops working after this instant (UTC). Omit or null for a link that does not expire by date.

Response

Successful Response