Use Update Record, if you just wish to remove record from a recordsets.
curl --location --request DELETE 'https://oteapi.webnic.cc/dns/v2/zone/sampledomain.com/basic/record?type=A&name=www' \
--header 'Authorization: Bearer <token>'{
"code": "1000",
"message": "Command completed successfully.",
"data": {
"removed": true
}
}