{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Edit the configuration for a custom domain on an existing R2 bucket.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/r2_account_identifier"},"bucket_name":{"$ref":"#/definitions/r2_bucket_name"},"domain":{"$ref":"#/definitions/r2_domain_name"}},"required":["account_id","bucket_name","domain"],"additionalProperties":false},"headers":{"type":"object","properties":{"cf-r2-jurisdiction":{"type":"string","default":"default","enum":["default","eu","us","fedramp","fedramp-high"],"description":"Jurisdiction where objects in this bucket are guaranteed to be stored."}},"required":[],"additionalProperties":false},"body":{"$ref":"#/definitions/r2_edit_custom_domain_request"}},"required":["path","body"],"additionalProperties":false,"definitions":{"r2_account_identifier":{"description":"Cloudflare account ID that owns the R2 resource.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"r2_bucket_name":{"description":"Name of the bucket.","type":"string","maxLength":64,"minLength":3,"pattern":"^[a-z0-9][a-z0-9-]*[a-z0-9]","examples":["example-bucket"]},"r2_domain_name":{"description":"Name of the custom domain.","type":"string","examples":["example-domain/custom-domain.com"]},"r2_edit_custom_domain_request":{"type":"object","properties":{"ciphers":{"description":"An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format.","type":"array","items":{"type":"string"}},"enabled":{"description":"Whether to enable public bucket access at the specified custom domain.","type":"boolean"},"minTLS":{"description":"Minimum TLS Version the custom domain will accept for incoming connections. If not set, defaults to previous value.","type":"string","enum":["1.0","1.1","1.2","1.3"]}},"examples":[{"enabled":true,"minTLS":"1.2"}]}}},"name":"Configure Custom Domain Settings","id":"cloudflare.r2-edit-custom-domain-settings","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353","bucket_name":"example-bucket","domain":"example-domain/custom-domain.com"},"body":{"enabled":true,"minTLS":"1.2"}},"maxRequests":1,"summary":false}}