User Role Assignments

List 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 URL
    https://api.gcore.com
  • URL
    https://api.gcore.com/cloud/v1/users/roles
  • Auth
    HTTP apikey

Query parameters

project_idinteger

Project ID

Example:123

Response

OK

countinteger required

Number of objects

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

      removed the InternalNetworkOnlyUser enum value from the // response property for the response status