{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates an existing Queue event subscription.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/mq_identifier"},"subscription_id":{"$ref":"#/definitions/mq_identifier"}},"required":["account_id","subscription_id"],"additionalProperties":false},"body":{"type":"object","properties":{"destination":{"$ref":"#/definitions/mq_event-destination"},"enabled":{"description":"Whether the subscription is active","type":"boolean"},"events":{"description":"List of event types this subscription handles","type":"array","items":{"type":"string"},"minItems":1},"name":{"description":"Name of the subscription","type":"string"}}}},"required":["path","body"],"additionalProperties":false,"definitions":{"mq_identifier":{"description":"A Resource identifier.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"mq_event-destination":{"description":"Destination configuration for the subscription","type":"object","oneOf":[{"$ref":"#/definitions/mq_event-destination-queue"}]},"mq_event-destination-queue":{"type":"object","properties":{"queue_id":{"description":"ID of the target queue","type":"string"},"type":{"description":"Type of destination","type":"string","enum":["queues.queue"]}},"required":["type","queue_id"]}}},"name":"Update Event Subscription","id":"cloudflare.subscriptions-patch","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353","subscription_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":{}},"maxRequests":1,"summary":false}}