cURL
curl --request GET \ --url https://api.gcore.com/cloud/v1/users/roles \ --header 'Authorization: <api-key>'
{ "count": 1, "results": [ { "role": "<string>", "scope": "<string>" } ] }
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
Project ID
123
OK
Number of objects
x >= 0
1
Objects
Show child attributes
Was this page helpful?