---
title: "Collect manages relations (replaced by POST /v1/role/{parentRoleId}/manages/query)"
method: GET
path: "/v1/role/{parentRoleId}/manages"
tags: ["Manages"]
deprecated: true
---

# Collect manages relations (replaced by POST /v1/role/{parentRoleId}/manages/query)

`GET /v1/role/{parentRoleId}/manages`

> **Deprecated.**

Get all (or some of) the manages relations which start from a role of which a user is a member (either directly or indirectly). The POST /v1/role/{parentRoleId}/manages/query is a preferable alternative which can better handle complex filters.

## Path parameters

- `parentRoleId` union, required
  - integer
  - integer[]
  - '*'

## Query parameters

- `id` integer[]
- `childRoleId` integer[]

## Response `200`

The manages relations which start from roles of which the user is a member and which match all the specified filters

- object
  - `manages` Def27[]
    - `id` integer, required — Id of the manages relation
    - `parentRoleId` integer, required — Id of the parent role
    - `childRoleId` integer, required — Id of the child role
    - `roleManagement` boolean, required — Indicates that the parent role has the right to attach the child role and its decendants to any other role.
    - `userManagement` boolean, required — Indicates that the parent role has the right to manage member relations for the child role and its decendants.
    - `viewManagement` boolean, required — Indicates that the parent role has the right to manage views relations for the child role and its decendants.
    - `deviceManagement` boolean, required — Indicates that the parent role has the right to manage monitors relations for the child role and its decendants.
    - `reportManagement` boolean, required — Indicates that the parent role has the right to manage "views report relations" for the child role and its decendants
    - `alarmManagement` boolean, required — Indicates that the parent role has the right to manage "alarm relations" for the child role and its decendants

## Other responses

- `400` — Invalidly formatted query parameters
- `401` — Authentication required or token invalid

---

[API](https://skmtc.dev/eniris/apis/eniris-metadata-telemetry-query-api.md) · [All operations](https://skmtc.dev/eniris/apis/eniris-metadata-telemetry-query-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/eniris/eniris-metadata-telemetry-query-api/revisions/fe3723575e19/schema)
