User Role Assignments
List roles
Changed onList of available roles is now exposed as an enum in endpoints where they are used, for example (/v1/users/assignments).
get/cloud/v1/users/roles
Request
- Base URLhttps://api.gcore.com
- URLhttps://api.gcore.com/cloud/v1/users/roles
- AuthHTTP apikey
Query parameters
project_idinteger
Project ID
Example:123
Response
OK
Example response
{
"count": 1,
"results": [
{
"scope": "Client"
}
]
}Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- info
removed the
InternalNetworkOnlyUserenum value from the//response property for the response status
- info