Light Mode
Create DNS Record
POST
/dns-recordsLast modified: 3 months ago
This endpoint allows you to create DNS records such as A, CNAME, MX, and TXT records.
:::info[Information]
You can manage DNS records for a Salla store via the API using this endpoint.
:::dns-records.read_write
- DNS Records Read & Write
Request
Body Params application/json
No schema defined
Example
{
"type": "MX",
"name": "blog",
"value": "blog.yourwebsite.com",
"priority": 0
}
Request samples
Responses
Success(200)
Unauthorized(401)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
status
number
optional
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.
success
boolean
optional
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
data
#/definitions/1307442optional
Example
{
"status": 200,
"success": true,
"data": {
"id": 358857001,
"type": "MX",
"name": "blog",
"content": "blog.yourwebsite.com",
"priority": 0
}
}
Last modified: 3 months ago