cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble with Management API

Novice

Trouble with Management API

Hello,

 

I am attempting to initiate an endpoint operation via the management api using postman:

Capture.PNG

 

I receive the above error "InvalidParameter" for a parameter called "operations". I am not sure where this is located in the enumerations for this URL, but I am having some trouble getting over this bump. Is it referring to the URL, if so, how do I resolve this issue? I would like to build a script to initiate operations like these if endpoints meet a specified criteria. I am new to API development work, but I have been able to figure out most of the documentation. I am performing the POST method exactly how I would to receive the Auth token. Any thoughts?

Thanks

1 REPLY 1
F-Secure

Re: Trouble with Management API

Hi,

 

It looks like you are sending query parameters i.e. as a part of the URL when they should be in the HTTP body as JSON instead.

 

Try again by removing the query parameters (everything after ? in the URL) and instead put the parameters as a JSON object in the body (in Postman click Body next to Headers and then use the raw mode to directly write JSON in the text field). The JSON should look like the endpoint operation documentation you already linked.