cancel
Showing results for 
Search instead for 
Did you mean: 

Utility - cURL (Basic)

Naga_Sai_Durga_
Level 2

Hi Team,

I am using cURL – Utility (Basic) to run PATCH command.

Basic URL - https://eseemds77.emea.nsn-net.net:8111/osmc/admin/ldaps/5085bcf5-c543-4764-88e4-326de12da2d8/resync/usergroups

Final Argument is like "https://eseemds77.emea.nsn-net.net:8111/osmc/admin/ldaps/5085bcf5-c543-4764-88e4-326de12da2d8/resync/usergroups --header "Content-Type: text/plain" --header "accept: application/json" --request PATCH --data "{"usernames": "I_EXT_EE_MAGICDRAW_READERS_RD"}" --insecure"

36123.png

When trying to run cURL, Receiving standard output as "The request requires user authentication". 

36124.png

Application Team Provided URL as - https://eseemds77.emea.nsn-net.net:8111/osmc/swagger/?url=https%3A%2F%2Feseemds77.emea.nsn-net.net%3A8111%2Fosmc%2Fmanual#/Administrator/patch_osmc_admin_ldaps__ldapId__resync_usergroups

Could you please help me with that.

Regrads,

Mounika Thulluri

1 REPLY 1

ewilson
Staff
Staff
Hello @Naga_Sai_Durga_,

I would send the response error message to your application team along with your cURL request and have them review it. The error shows that the server is expecting an input value of contactEmail. I don't see that in your request.

Cheers,
Eric​