Reorder QR Codes

Update the order of a user's studio QR codes

Info

Required scope: studio.write

Warning

This method requires authentication

Set a custom order for the authenticated user's QR codes by providing an array of QR code IDs.

curl -X PATCH \
     -H "Authorization: Bearer [access token]" \
     -H "Content-Type: application/json" \
     -d '{"ids": ["e5f6a7b8-c9d0-1234-ef56-789012345678", "f6a7b8c9-d0e1-2345-f678-901234567890"]}' \
     https://api.restream.io/v2/user/studio/qr-codes/order

Request Body

FieldTypeDescription
idsarray of stringsOrdered list of QR code IDs (required)
{
  "ids": [
    "e5f6a7b8-c9d0-1234-ef56-789012345678",
    "f6a7b8c9-d0e1-2345-f678-901234567890"
  ]
}

Response

Success
Error (Unauthorized)
204 No Content