| 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 |
| Remove Zone Subscription Record | {{baseUrl}}/dns/v2/zone/:zone/subscription/record/remove |
curl --location --request DELETE 'https://oteapi.webnic.cc/dns/v2/zone/webnic.sbs/subscription/record?type=TXT&name=@&value=This is a test TXT1' \
--header 'Authorization: Bearer <token>'{
"code": "1000",
"message": "Command completed successfully.",
"data": {
"record": null
}
}