# Collate Roles API

**Canonical:** https://apis.io/apis/collate/collate-roles-api/  
**Provider:** Collate — https://apis.io/providers/collate/  
**Base URL:** https://sandbox.open-metadata.org/api/v1  
**Documentation:** https://docs.open-metadata.org/latest/api-reference

Collate Roles API is one of 107 APIs that [Collate](https://apis.io/providers/collate/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Roles. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

A `Role` is a collection of `Policies` that provides access control. A user or a team can be assigned one or multiple roles that provide privileges to a user and members of a team to perform the job function.

## Operations (17)

| Method | Path | Summary |
|---|---|---|
| GET | `/v1/roles` | List roles |
| PUT | `/v1/roles` | Update role |
| POST | `/v1/roles` | Create a role |
| GET | `/v1/roles/name/{name}` | Get a role by name |
| DELETE | `/v1/roles/name/{name}` | Delete a role |
| GET | `/v1/roles/{id}` | Get a role by id |
| DELETE | `/v1/roles/{id}` | Delete a role |
| PATCH | `/v1/roles/{id}` | Update a role |
| DELETE | `/v1/roles/async/{id}` | Asynchronously delete a role |
| GET | `/v1/roles/{id}/context` | Get the AI context for an entity by id |
| GET | `/v1/roles/name/{fqn}/context` | Get the AI context for an entity by fully qualified name |
| GET | `/v1/roles/{id}/versions/{version}` | Get a version of the role |
| GET | `/v1/roles/history` | List all entity versions within a time range |
| GET | `/v1/roles/{id}/versions` | List role versions |
| PATCH | `/v1/roles/name/{fqn}` | Update a role using name |
| PUT | `/v1/roles/restore` | Restore a soft deleted role |
| GET | `/v1/roles/search` | Search roles |

## Machine-readable artifacts (3)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/collate/refs/heads/main/openapi/collate-roles-api-openapi.yml
- **Documentation** — https://docs.open-metadata.org/latest/api-reference
- **APIReference** — https://docs.open-metadata.org/latest/api-reference

## Other Collate APIs (12)

- [Collate Activity Stream API](https://apis.io/apis/collate/collate-activity-stream-api/)
- [Collate Agent Executions API](https://apis.io/apis/collate/collate-agent-executions-api/)
- [Collate AI Applications API](https://apis.io/apis/collate/collate-ai-applications-api/)
- [Collate AI Audit Reports API](https://apis.io/apis/collate/collate-ai-audit-reports-api/)
- [Collate AI Context API](https://apis.io/apis/collate/collate-ai-context-api/)
- [Collate AI Framework Controls API](https://apis.io/apis/collate/collate-ai-framework-controls-api/)
- [Collate AI Governance API](https://apis.io/apis/collate/collate-ai-governance-api/)
- [Collate AI Governance Frameworks API](https://apis.io/apis/collate/collate-ai-governance-frameworks-api/)
- [Collate AI Governance Policies API](https://apis.io/apis/collate/collate-ai-governance-policies-api/)
- [Collate Announcements API](https://apis.io/apis/collate/collate-announcements-api/)
- [Collate API Collections API](https://apis.io/apis/collate/collate-api-collections-api/)
- [Collate API Endpoint API](https://apis.io/apis/collate/collate-api-endpoint-api/)

## Tags

Roles

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/collate/collate-roles-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/collate/.
