GET
/
organizations
/
{organization}
/
members
/
roles
curl --request GET \
  --url https://cloud.local.wirtual.dev/api/v2/organizations/{organization}/members/roles \
  --header 'Wirtual-Session-Token: <api-key>'
[
  {
    "assignable": true,
    "built_in": true,
    "display_name": "<string>",
    "name": "<string>",
    "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "organization_permissions": [
      {
        "action": "application_connect",
        "negate": true,
        "resource_type": "*"
      }
    ],
    "site_permissions": [
      {
        "action": "application_connect",
        "negate": true,
        "resource_type": "*"
      }
    ],
    "user_permissions": [
      {
        "action": "application_connect",
        "negate": true,
        "resource_type": "*"
      }
    ]
  }
]

Authorizations

Wirtual-Session-Token
string
header
required

Path Parameters

organization
string
required

Organization ID

Response

200 - application/json
OK
assignable
boolean
built_in
boolean

BuiltIn roles are immutable

display_name
string
name
string
organization_id
string
organization_permissions
object[]

OrganizationPermissions are specific for the organization in the field 'OrganizationID' above.

site_permissions
object[]
user_permissions
object[]