Salla Docs
Merchant API
Partner APIs
Storefront
Salla CLI
Salla Docs
    Light Mode

    Delete DNS Record

    DELETE/dns-records/{dns_id}
    Last modified: a month ago

    This endpoint allows you to delete DNS records such as A, CNAME, MX, and TXT records, by passing the dns_id as a path parameter.

    :::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

    Path Params
    dns_id
    integer 
    required

    DNS ID. Get a list of DNS IDs from here

    Request samples

    Responses

    Deleted Successfully(200)
    Deleted Successfully
    HTTP Code: 200
    Content Type : JSONapplication/json
    Data Schema
    No schema defined
    Example
    {
      "status": 202,
      "success": true,
      "data": {
        "message": "تم حذف السجل بنجاح",
        "code": 202
      }
    }
    Last modified: a month ago