> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/release-notes/cloudeka-api/ai-dns/update-record.md).

# Update Record

Update Record

```json
{"openapi":"3.1.1","info":{"title":"Cloudeka AI - API Documentation","version":"1.0.0"},"tags":[{"name":"AI DNS","description":"API endpoints for AI DNS (base: /core/dns)"}],"servers":[{"url":"https://ai.cloudeka.id/"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"description":"Type 'Bearer ' followed by your JWT token. Example: \"Bearer eyJhbGciOi...\"","type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"ai_dns__model.Response":{"type":"object","properties":{"data":{},"message":{"type":"string"},"status":{"type":"boolean"},"statusCode":{"type":"integer"}}},"ai_dns__request.UpdateRecord":{"type":"object","required":["content","name","ttl","type"],"properties":{"content":{"type":"string"},"name":{"type":"string"},"ttl":{"type":"integer"},"type":{"type":"string"}}}}},"paths":{"/core/dns/{zoneId}/record/{recordId}/update":{"post":{"description":"Update Record","tags":["AI DNS","Record"],"summary":"Update Record","parameters":[{"schema":{"type":"string"},"description":"Zone ID","name":"zoneId","in":"path","required":true},{"schema":{"type":"string"},"description":"Record ID","name":"recordId","in":"path","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_dns__model.Response"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_dns__model.Response"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_dns__request.UpdateRecord"}}},"description":"Request Body","required":true}}}}}
```
