---
title: "Load role by ID (deprecated)"
method: GET
path: "/api/role/loadbyid/{params}"
tags: ["Roles"]
deprecated: true
---

# Load role by ID (deprecated)

`GET /api/role/loadbyid/{params}`

> **Deprecated.**

Returns detailed role information including all role properties. Used for loading complete role details in admin UI. This endpoint is deprecated.

## Path parameters

- `params` string, required

## Response `200`

Role loaded successfully

- object — Role details including DBFQN, FQN, description, permissions, id, name, and other role properties

## Other responses

- `401` — Unauthorized - backend user authentication required
- `500` — Internal server error

---

[API](https://skmtc.dev/jostens/apis/dotcms-rest-api.md) · [All operations](https://skmtc.dev/jostens/apis/dotcms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jostens/dotcms-rest-api/revisions/a088fe9f515c/schema)
