{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To update an existing record, send a PATCH request to\n`/v2/domains/$DOMAIN_NAME/records/$DOMAIN_RECORD_ID`. Any attribute valid for\nthe record type can be set to a new value for the record.\n\nSee the [attribute table](#tag/Domain-Records) for details regarding record\ntypes and their respective attributes.\n","properties":{"path":{"type":"object","properties":{"domain_name":{"type":"string","examples":["example.com"],"description":"The name of the domain itself."},"domain_record_id":{"type":"integer","examples":[3352896],"description":"The unique identifier of the domain record."}},"required":["domain_name","domain_record_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/domain_record","examples":[{"name":"blog","type":"A"}]}},"required":["path"],"additionalProperties":false,"definitions":{"domain_record":{"type":"object","required":["type"],"properties":{"type":{"type":"string","description":"The type of the DNS record. For example: A, CNAME, TXT, ...","examples":["NS"]},"name":{"type":"string","description":"The host name, alias, or service being defined by the record.","examples":["@"]},"data":{"type":"string","description":"Variable data depending on record type. For example, the \"data\" value for an A record would be the IPv4 address to which the domain will be mapped. For a CAA record, it would contain the domain name of the CA being granted permission to issue certificates.","examples":["ns1.digitalocean.com"]},"priority":{"type":["integer","null"],"description":"The priority for SRV and MX records.","examples":[null]},"port":{"type":["integer","null"],"description":"The port for SRV records.","examples":[null]},"ttl":{"type":"integer","description":"This value is the time to live for the record, in seconds. This defines the time frame that clients can cache queried information before a refresh should be requested.","examples":[1800]},"weight":{"type":["integer","null"],"description":"The weight for SRV records.","examples":[null]},"flags":{"type":["integer","null"],"description":"An unsigned integer between 0-255 used for CAA records.","examples":[null]},"tag":{"type":["string","null"],"description":"The parameter tag for CAA records. Valid values are \"issue\", \"issuewild\", or \"iodef\"","examples":[null]}}}}},"name":"Update a Domain Record","id":"digitalocean.domains_patch_record","example":{"path":{"domain_name":"example.com","domain_record_id":3352896}},"maxRequests":1,"summary":false}}