latestOpenAPI 3.1.02026-08-10150311431.9 KB

c1f3c6d96b31

User

Get the authenticated user organization roles

get/user/organization-roles

Response

Successful Response

namestring required

The name of the role that is being bound to the user

display_namestring required

The display name for this role

descriptionstring required

A description of the role

resourcesobject

The resources that the role can access

Example response

[
  {
    "owner": {
      "id": "0ad77f99-8043-46e4-8220-7221487c3ee5",
      "account_type": "user",
      "name": "ladybugbot",
      "display_name": "Ladybug Bot",
      "description": "Beep Boop!"
    },
    "name": "owner",
    "display_name": "Owner",
    "description": "This role can manage all resources in the organization",
    "resources": {
      "subscriptions": "write",
      "quotas": "read"
    }
  }
]