---
updatedAt: 2026-07-02T14:53:06.000Z
---

# Retrieves the details of a global role.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "BeyondTrust PM Cloud Management API - Version 3",
    "description": "BeyondTrust PM Cloud Management API - Version 3",
    "version": "v3"
  },
  "servers": [
    {
      "url": "https://{example.com}/management-api"
    }
  ],
  "paths": {
    "/v3/GlobalRoles/{id}": {
      "get": {
        "tags": [
          "GlobalRoles"
        ],
        "summary": "Retrieves the details of a global role.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GlobalRoleDetailModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GlobalRoleDetailModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GlobalRoleDetailModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": [],
            "oauth2": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "GlobalRoleDetailModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Identifier",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "Name",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Description",
            "nullable": true
          },
          "isBuiltIn": {
            "type": "boolean",
            "description": "Is Buil-in or Custom"
          },
          "permissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoleItemModel"
            },
            "description": "List of permissions assigned",
            "nullable": true
          },
          "users": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserGlobalRoleModel"
            },
            "description": "List of users that have this role",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Contains the details of a global role"
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": {}
      },
      "RoleItemModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Identifier",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "Name",
            "nullable": true
          },
          "resourceId": {
            "type": "string",
            "description": "Resource Id",
            "nullable": true
          },
          "resourceType": {
            "type": "string",
            "description": "Resource Type",
            "nullable": true
          },
          "type": {
            "type": "string",
            "description": "Type",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Model of role list item"
      },
      "UserGlobalRoleModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Identifier",
            "format": "uuid"
          },
          "accountName": {
            "type": "string",
            "description": "Account name",
            "nullable": true
          },
          "emailAddress": {
            "type": "string",
            "description": "Email address",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Contains the basic information of users assigned to a Global Role"
      }
    },
    "securitySchemes": {
      "bearer": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "oauth2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://sneakpeek-services.epm.bt3ng.com/oauth/connect/token",
            "scopes": {
              "urn:management:api": "Management API scope"
            }
          }
        }
      }
    }
  },
  "x-readme": {}
}
```