- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2022 11:15 PM
Hi,
I am trying to delete a MAC address on Cisco ISE with REST API from ServiceNow, but below error was returned and I cannot do. The request and response were shown below.
1)Header:
Accept: application/json
Accept-Encoding:gzip, deflate, br
Connection: keep-alive
Content-Type:application/json
2)Authentication: BASIC
3)Method: DELETE
4)URL:
https://<IP address>/ers/config/endpoint/<ID for MAC address>
5)Response:
HTTP Status 501 : Not Implemented
Message: DELETE method is not supported in CPM
Description: The server does not support the functionality required to fulfill the request.
Note)
I did not mention the details, but I was able to add a MAC address with REST API from Servicenow, so adding is working but deleting is not working.
According to the response, deleting seems not to be supported.
However, Cisco SE was able to delete it through the postman, which is one of the REST API tools.
The point is that postman can delete it but the Servicenow cannot do.
Is there anyone who tried to delete the same way or faced the similar situation?
Regards,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2022 09:17 PM - edited 11-24-2022 09:34 PM
Thank you for sharing the screenshot. Could you please confirm whether you are using the same endpoint that the SE team is using.
Also Please inform SE team to check the logs as per the guide in the link below
https://developer.cisco.com/docs/identity-services-engine/latest/#!troubleshooting/verification
You can try access the swagger page of SE device using the link below after updating the IP and port of the ISE device.
https://{iseip}:{port}/api/swagger-ui/index.html
Thanks & Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2022 12:59 AM
Can you try get the screenshot of Postman which the SE team is using to delete it and the request headers if possible
Thanks & Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2022 06:09 PM
Hi Vasantharajan,
Thank you for your reply.
I have attached files that SE team used on postman to delete, which includes header information and shows a successful result. If you find out anything, please let me know.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2022 09:17 PM - edited 11-24-2022 09:34 PM
Thank you for sharing the screenshot. Could you please confirm whether you are using the same endpoint that the SE team is using.
Also Please inform SE team to check the logs as per the guide in the link below
https://developer.cisco.com/docs/identity-services-engine/latest/#!troubleshooting/verification
You can try access the swagger page of SE device using the link below after updating the IP and port of the ISE device.
https://{iseip}:{port}/api/swagger-ui/index.html
Thanks & Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2022 12:50 AM
Hi Vasantharajan,
Thank you for your comment.
Cisco SE and Servicenow team have checked the endpoint again, and we realized the port information was missing. After the port was added to the request URL, the deleting worked fine.
We have resoloved this issue, and we should have checked more carefully. Anyway, I really appreciate to you.
Regards,