# role

Represents a role that can be assigned to organization members, defining their permissions and access levels.

### Examples

```graphql
type Role {
  id: String!
  name: String!
  description: String
  displayName: String
}
```

### Fields

| Field                | Description                                                | Supported fields |
| -------------------- | ---------------------------------------------------------- | ---------------- |
| id `String!`         | Unique identifier of the role                              |                  |
| name `String!`       | Auth0 name of the role                                     |                  |
| description `String` | Detailed description of the role's purpose and permissions |                  |
| displayName `String` | Human-readable name of the role                            |                  |

### References

#### Queries using this object:

* [\<?> getGlobalRoles](/api-documentation/api-reference/api--organization/queries/get-global-roles.md)

#### Fields with this object:

* [{} Member.roles](/api-documentation/api-reference/api--organization/types/objects/member.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ox.security/api-documentation/api-reference/api--organization/types/objects/role.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
