---
updatedAt: 2025-06-05T08:36:18.000Z
agentTools:
  projectIndex: https://sectigoweb.dev/llms.txt
---

# Records - Bulk Update

This endpoint updates multiple DNS records. Up to 150 records can be included in each request.

The response will include two arrays: one for successfully updated records and the other for failures. Each failed record attempt will include an "errors" field to indicate why update failed.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "website-dns",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://platform.sectigo.com/v2/websites"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "query",
        "name": "api_key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/{website_id}/dns/records/bulk_update": {
      "put": {
        "summary": "Records - Bulk Update",
        "description": "",
        "operationId": "records-bulk-update",
        "parameters": [
          {
            "name": "website_id",
            "in": "path",
            "description": "The ID of the Website to import DNS records for.",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "records"
                ],
                "properties": {
                  "records": {
                    "type": "array",
                    "description": "List of records to update.",
                    "items": {
                      "properties": {
                        "name": {
                          "type": "string",
                          "description": "A record's name"
                        },
                        "record_type": {
                          "type": "string",
                          "description": "The record type."
                        },
                        "ttl": {
                          "type": "integer",
                          "description": "Record TTL in seconds.",
                          "default": 3600,
                          "format": "int32"
                        },
                        "content": {
                          "type": "string",
                          "description": "The record content."
                        }
                      },
                      "required": [
                        "name",
                        "record_type",
                        "content"
                      ],
                      "type": "object"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"failed\": [],\n  \"succeeded\": [\n    {\n      \"dns_zone_record\": {\n      \"id\": 336,\n      \"name\": \"test1\",\n      \"record_type\": \"CNAME\",\n      \"content\": \"test1.domain.com\",\n      \"ttl\": 3600,\n      \"priority\": null\n      }\n    },\n    {\n      \"dns_zone_record\": {\n      \"id\": 337,\n      \"name\": \"test2\",\n      \"record_type\": \"CNAME\",\n      \"content\": \"test2.domain.com\",\n      \"ttl\": 3600,\n      \"priority\": null\n      }\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "failed": {
                      "type": "array"
                    },
                    "succeeded": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "dns_zone_record": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "integer",
                                "example": 336,
                                "default": 0
                              },
                              "name": {
                                "type": "string",
                                "example": "test1"
                              },
                              "record_type": {
                                "type": "string",
                                "example": "CNAME"
                              },
                              "content": {
                                "type": "string",
                                "example": "test1.domain.com"
                              },
                              "ttl": {
                                "type": "integer",
                                "example": 3600,
                                "default": 0
                              },
                              "priority": {}
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"error\": {\n        \"message\": \"Record count exceeds import limit (150 per request).\"\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "message": {
                          "type": "string",
                          "example": "Record count exceeds import limit (150 per request)."
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "Content-type",
        "value": "application/json"
      },
      {
        "key": "Accept",
        "value": "application/json"
      }
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```