| Field | Type | Description |
|---|---|---|
| name | String | (Required) Record name |
| type | String | (Required) Record type |
| rdatas | Object[] | (Required) List of rdata |
| ...value | String | (Required) Record value |
| ...attributes | Object | (Optional) An object which stores additional key-value pairs for extra metadata related to the DNS record |
| Field | Type | Description |
|---|---|---|
| record | Object | Zone subsription record data object |
| ...type | String | Record type |
| ...name | String | Record name |
| ...ttl | Number | Indicates how often a DNS server will refresh the record (in millisecond) |
| ...rdatas | Object[] | List of rdata |
| ......value | String | Record value |
| ......attributes | Object | An object which stores additional key-value pairs for extra metadata related to the DNS record |
| ...dnstableId | Number | DNS table ID |
| ...remarks | String | Additional remarks |
| Action | URL |
|---|---|
| Get Zone Subscription Records | {{baseUrl}}/dns/v2/zone/:zone/subscription/records |
| Delete Zone Subscription Record | {{baseUrl}}/dns/v2/zone/:zone/subscription/record |
curl --location --request POST 'https://oteapi.webnic.cc/dns/v2/zone/captainmarvel3.com.mm/subscription/record/remove' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "www",
"type": "A",
"rdatas": [
{
"value": "1.1.1.1"
}
]
}'{
"code": "1000",
"message": "Command completed successfully.",
"data": {
"record": null
}
}