Light Mode
List DNS Records
GET
/dns-recordsLast modified:Â 2 months ago
This endpoint allows you to retrieve all of the DNS records, such as A, CNAME, MX, and TXT records.
:::info
You can manage DNS records for a Salla store via the API using this endpoint.
:::
Request
None
Request samples
Responses
Success(200)
HTTP Code:Â 200
Content Type :Â JSONapplication/json
Data Schema
No schema defined
Example
{
"status": 200,
"success": true,
"data": [
{
"id": 1773697839,
"type": "A",
"name": "Test 1",
"content": "192.1.1.1"
},
{
"id": 998677032,
"type": "CNAME",
"name": "Test Blog",
"content": "blog.yourwebsite.com"
},
{
"id": 358857001,
"type": "MX",
"name": "Test Security",
"content": "security.yourwebsite.com",
"priority": 1
}
]
}
Last modified: 2 months ago