naustin2
Contributor
Contributor

REST API - Unsupported property with name: action.

I'm new to the vSphere API and I'm attempting to look up library items using the following call.  I'm also setting the vmware-api-session-id in the header for this GET request.

curl --location --request GET 'https://{host}/api/content/library/item?action=find
 
Here's the error being returned:
 
"error_type":"INVALID_ARGUMENT", "messages":[{"args":["action""],"default_message":"Unsupported property with name: action.","id":"com.vmware.vapi.rest.unsupportedProperty"}]}
 
Any thoughts on what I might be doing wrong?
 
Thanks
 
Noel
 
Labels (1)
Reply
0 Kudos