FortiSIEM Discussions
crimali
New Contributor

API /phoenix/rest/device/list/delete returns HTTP Status 415 - Unsupported Media Type

Hi all,

in FortiSIEM 7.0.2,

I want to delete

one or more CMDB devices using REST APIs.

I'm trying with the /phoenix/rest/device/list/delete API.
The command is: curl --location 'https://Server-IP/phoenix/rest/device/list/delete' \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic xxxxxxxxx' \ --data '["111111"]' where 111111 is the deviceId.

 

The result contains:

HTTP Status 415 - Unsupported Media Type
1 Solution
cdurkin_FTNT
Staff
Staff

Can you try content type: text/xml

View solution in original post

2 REPLIES 2
Stephen_G
Moderator
Moderator

Hello crimali,

 

Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.

 

Thanks,

Stephen - Fortinet Community Team
cdurkin_FTNT
Staff
Staff

Can you try content type: text/xml

Announcements

Welcome to your new Fortinet Community!

You'll find your previous forum posts under "Forums"