---
title: "GET /api/services/app/Role/GetRoleForEdit"
method: GET
path: "/api/services/app/Role/GetRoleForEdit"
tags: ["Role"]
---

# GET /api/services/app/Role/GetRoleForEdit

`GET /api/services/app/Role/GetRoleForEdit`

## Query parameters

- `Id` integer

## Response `200`

Success

- GetRoleForEditOutput
  - `role` RoleEditDto
    - `id` integer, nullable
    - `displayName` string, required — Required
    - `isDefault` boolean
  - `permissions` FlatPermissionDto[], nullable
    - `parentName` string, nullable
    - `name` string, nullable
    - `displayName` string, nullable
    - `description` string, nullable
    - `isGrantedByDefault` boolean
  - `grantedPermissionNames` string[], nullable

---

[API](https://skmtc.dev/dalieu/apis/portaldalieu-api.md) · [All operations](https://skmtc.dev/dalieu/apis/portaldalieu-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dalieu/portaldalieu-api/revisions/78dcf1621c0e/schema)
