| Field | Type | Description |
|---|---|---|
| zone | String | Zone |
| subdomain | String | Sub domain name |
| targetUrl | String | Target URL address |
| status | String | Status of the zone URL forwardings |
| dtcreate | String | Date and time when the zone URL forwardings was created |
| dtmodify | String | Date and time when the zone URL forwardings was modified |
| Action | URL |
|---|---|
| Add Zone Url Forwarding | {{baseUrl}}/dns/v2/zone/:zone/url-forwarding |
| Remove Zone Url Forwarding | {{baseUrl}}/dns/v2/zone/:zone/url-forwarding |
curl --location --request GET 'https://oteapi.webnic.cc/dns/v2/zone/sampledomain.com/url-forwardings' \
--header 'Authorization: Bearer <token>'{
"code": "1000",
"message": "Command completed successfully.",
"data": [
{
"zone": "3promojmxtest280.com",
"subdomain": "www",
"targetUrl": "https://sf-admin.ezyicp.com",
"status": "active",
"dtcreate": "2023-08-18T15:30:54+08:00",
"dtmodify": "2023-08-18T15:30:54+08:00"
}
]
}