cURL
curl --request PUT \ --url https://api.example.com/api/v1/qr/{qr_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "url": "<string>", "pump_id": 123 } '
{ "id": 123, "url": "<string>", "pump_id": 123, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
Update a QR code.
The access token received from the authorization server in the OAuth 2.0 flow.
Schema for updating QR code.
Successful Response
Schema for QR code response.