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

# Load role children (deprecated)

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

> **Deprecated.**

Returns role hierarchy with first-level children for lazy-loading role tree in admin UI. If no ID provided, returns root roles. This endpoint is deprecated.

## Path parameters

- `params` string, required

## Response `200`

Role children loaded successfully

- object — Role hierarchy tree with child roles containing id, name, locked, and children properties

## Other responses

- `401` — Unauthorized - backend user authentication required
- `403` — Forbidden - insufficient permissions
- `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)
