HostMentor Docs

Delete a QR code

DELETE/business/{phone_number_id}/message_qrdls/{code}

Deletes a QR code. Printed copies and its short link stop opening the chat.

Authorization

apiKey
apikey<token>

Your HostMentor API key, from the dashboard under Messaging → WhatsApp → API keys.

In: header

Path Parameters

phone_number_id*string

ID of your WhatsApp number, from the dashboard or List your phone numbers. It isn't the phone number itself.

code*string

The QR code's ID.

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://wa.hostmentor.com/v3/business/106540352242922/message_qrdls/RPASB5GEAP6FO1" \  -H "apikey: YOUR_API_KEY"
{  "success": true}