{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Delete messages from a Queue by using refs returned by the peek endpoint. Purging messages does not count as delivery and does not affect metrics.","properties":{"path":{"type":"object","properties":{"queue_id":{"$ref":"#/definitions/mq_identifier"},"account_id":{"$ref":"#/definitions/mq_identifier"}},"required":["queue_id","account_id"],"additionalProperties":false},"body":{"type":"object","properties":{"refs":{"type":"array","items":{"properties":{"ref":{"$ref":"#/definitions/mq_ref"}},"required":["ref"],"type":"object"}}},"required":["refs"]}},"required":["path","body"],"additionalProperties":false,"definitions":{"mq_identifier":{"description":"A Resource identifier.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"mq_ref":{"description":"An opaque reference to a peeked message. You must hold on to this value and use it to purge the message.","type":"string","examples":["eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIn0..Q8p21d7dceR6vUfwftONdQ.JVqZgAS-Zk7MqmqccYtTHeeMElNHaOMigeWdb8LyMOg.T2_HV99CYzGaQuhTyW8RsgbnpTRZHRM6N7UoSaAKeK0"]}}},"name":"Purge Peeked Queue Messages","id":"cloudflare.queues-purge-messages","example":{"path":{"queue_id":"023e105f4ecef8ad9ca31a8372d0c353","account_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":{"refs":[]}},"maxRequests":1,"summary":false}}