In IBM cloud how could I get access group list using curl command. But I am facing an error which is the base url?

Viewed 20

I am trying to execute the curl command in IBM cli command

curl -X POST --location --header "Authorization: Bearer <SAMPLE IAM TOKEN>" 
--header "Accept: application/" 
--header "Content-Type: application/" --data '{ "name": "Managers", "description": "Group for managers" }'
 "<sample URL>/v2/=<ACCOUNT ID>"    

Note: The actual command executed on the image due Stackoverflow formatting

0 Answers
Related