How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Digital Ocean Domain Records API

Domain record resources are used to set or retrieve information about theindividual DNS records configured for a domain. This allows you to buildand manage DNS zone files by adding and modifying individual records for adomain.The [DigitalOcean DNS management interface](https://docs.digitalocean.com/products/networking/dns/)allows you to configure the following DNS records:Name | Description |------|----------------------------------------------------------------------------------------------------------------------------------------------------|A | This record type is used to map an IPv4 address to a hostname. |AAAA | This record type is used to map an IPv6 address to a hostname. |CAA | As specified in RFC-6844, this record type can be used to restrict which certificate authorities are permitted to issue certificates for a domain. |CNAME | This record type defines an alias for your canonical hostname (the one defined by an A or AAAA record). |MX | This record type is used to define the mail exchanges used for the domain. |NS | This record type defines the name servers that are used for this zone. |TXT | This record type is used to associate a string of text with a hostname, primarily used for verification. |SRV | This record type specifies the location (hostname and port number) of servers for specific services. |SOA | This record type defines administrative information about the zone. Can only have ttl changed, cannot be deleted |

Digital Ocean Domain Records API is one of 37 APIs that Digital Ocean publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Domain Records. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 6 operations across 2 paths, and defines 21 schemas. It is described by OpenAPI 3.0.0, at version 2.0.

Requests are made against a single base URL, https://api.digitalocean.com.

6 operations 2 paths 21 schemas 1 DELETE2 GET1 PATCH1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
2.0
Base URL
https://api.digitalocean.com/v2
Authentication
HTTP Bearer
License
Terms of Service
Resource Areas
1

Authentication & Security 1

Digital Ocean Domain Records API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearer_auth). By default, every request must be authenticated.

  • bearer_auth — OAuth Authentication In order to interact with the DigitalOcean API, you or your application must authenticate. The DigitalOcean API handles this through OAuth…

Paths & Operations 6

Across 2 paths, the API surfaces 6 operations — 1 DELETE, 2 GET, 1 PATCH, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Domain Records 6

Domain record resources are used to set or retrieve information about the individual DNS records configured for a domain. This allows you to build and manage DNS zone files by add…

GET
/v2/domains/{domain_name}/records
List All Domain Records
domains_list_records 5 params → 200401404429500default
POST
/v2/domains/{domain_name}/records
Create a New Domain Record
domains_create_record 1 param body → 201401404429500default
GET
/v2/domains/{domain_name}/records/{domain_record_id}
Retrieve an Existing Domain Record
domains_get_record 2 params → 200401404429500default
PATCH
/v2/domains/{domain_name}/records/{domain_record_id}
Update a Domain Record
domains_patch_record 2 params body → 200401404429500default
PUT
/v2/domains/{domain_name}/records/{domain_record_id}
Update a Domain Record
domains_update_record 2 params body → 200401404429500default
DELETE
/v2/domains/{domain_name}/records/{domain_record_id}
Delete a Domain Record
domains_delete_record 2 params → 204401404429500default

Schemas 21

The contract defines 21 schemas that model the data the API accepts and returns. The most detailed are domain_record (10 properties), error (3 properties), meta (1 property), meta_properties (1 property). Each schema is shown below with its type and property counts.

domain_record
object
10 properties 1 required
link_to_prev_page
object
1 property
link_to_last_page
object
1 property
page_links
object
1 property
domain_record_ns
domain_record_caa
domain_record_soa
domain_record_txt
forward_links
pagination
object
1 property
domain_record_mx
domain_record_a
domain_record_srv
link_to_first_page
object
1 property
error
object
3 properties 2 required
backward_links
domain_record_cname
meta_properties
object
Information about the response itself.
1 property
meta
object
1 property 1 required
domain_record_aaaa
link_to_next_page
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

digital-ocean-domain-records-api-openapi.yml Raw ↑

Other APIs Digital Ocean publishes across the network.

Digital Ocean 1-Click Applications API
Digital Ocean Account API
Digital Ocean Actions API
Digital Ocean Apps API
Digital Ocean Billing API
Digital Ocean Block Storage Actions API
Digital Ocean Block Storage API
Digital Ocean CDN Endpoints API
Digital Ocean Certificates API
Digital Ocean Container Registry API
Digital Ocean Databases API
Digital Ocean Domains API
Where this information came from

This is an independent, third-party profile of Digital Ocean Domain Records API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.