v1

latestOpenAPI 3.0.12026-08-041826100.3 KB

Update a dynamic QR record

Requires the current ETag in If-Match. Set rotateToken to true to replace the bearer capability; the old token is immediately invalid.

patch/api/dynamic-qr/{slug}

Headers

If-Matchstring required

Exact value returned by X-Dynamic-QR-Version, or the ETag when no intermediary has rewritten it

X-Dynamic-QR-Versionstring

Stable mirror of If-Match for intermediaries that rewrite or remove standard conditional headers

Request body

destinationstring uri
labelstring
status'active' | 'paused'
rotateTokenboolean

Replace the bearer capability and return the new token once in the response.

Response

Updated dynamic QR record

successboolean required
redirectUrlstring uri required
managementTokenstring

Present only when rotateToken is true; store it because it is not returned again.

managementUrlstring uri