Update QR Code

Update a user's studio QR code

Info

Required scope: studio.write

Warning

This method requires authentication

Update the title, link, or display settings of a studio QR code owned by the authenticated user.

curl -X PATCH \
     -H "Authorization: Bearer [access token]" \
     -H "Content-Type: application/json" \
     -d '{"title": "Updated Title", "link": "https://example.com/new"}' \
     https://api.restream.io/v2/user/studio/qr-codes/{qrCodeId}

Path Parameters

ParameterTypeDescription
qrCodeIdstring (UUID)The ID of the QR code to update

Request Body

FieldTypeDescription
titlestringQR code title (optional)
linkstringQR code URL (optional)
shouldShowTitlebooleanWhether to display the title on screen (optional)
isDefaultbooleanWhether this is the default QR code (optional)
{
  "title": "Updated Title",
  "link": "https://example.com/new",
  "shouldShowTitle": true,
  "isDefault": false
}

Response

Success
Error (Not Found)
Error (Unauthorized)
{
  "id": "e5f6a7b8-c9d0-1234-ef56-789012345678",
  "brandId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
  "title": "Updated Title",
  "link": "https://example.com/new",
  "shouldShowTitle": true
}