Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Delete Unicast Route via API

Hello Community,

I trying to delete Unicast Route via API call without any success. This is my request:

<Request>
<Login>
<Username>user</Username>
<Password passwordform='encrypt'>my-pwhash</Password>
</Login>
<Remove>
<UnicastRoute>
<DestinationIP>192.168.42.0</DestinationIP>
<Netmask>255.255.255.0</Netmask>
</UnicastRoute>
</Remove>
</Request>

This request results in this error Message:

<?xml version="1.0" encoding="UTF-8"?>
<Response APIVersion="1800.2" IPS_CAT_VER="1">
<Login>
<status>Authentication Successful</status>
</Login>
<UnicastRoute transactionid="">
<Status code="500">Operation could not be performed on Entity.</Status>
</UnicastRoute>
</Response>

When I look into the API Documention DestinationIP and Netmask are the only required paramters:
API Documentation (sophos.com)

Has anybody a hint for me?

Thanks,

Ben



This thread was automatically locked due to age.
Parents Reply
  • Hello Thom,

    when I try to delete the Unicast Route with CIDR notation it will also result with error "500":  

    <Remove>  
    <UnicastRoute>
    <DestinationIP>192.168.42.0</DestinationIP>
    <Netmask>24</Netmask>
    </UnicastRoute>
    </Remove>

    <Status code="500">Operation could not be performed on Entity.</Status>

    Ben

Children
No Data