---
title: "Obter permissões"
method: GET
path: "/roles/{membershipId}/{appId}"
tags: ["Roles"]
---

# Obter permissões

`GET /roles/{membershipId}/{appId}`

## Request

- Base URL: `https://api.contas.rdstationmentoria.com.br/rest`
- URL: `https://api.contas.rdstationmentoria.com.br/rest/roles/{membershipId}/{appId}`
- Auth: HTTP bearer

Retorna as permissões de um membro (usuário) para um aplicativo da plataforma.

## Path parameters

- `appId` string, required
- `membershipId` string, required

## Response `200`

Successful response

- object, nullable
  - `membershipId` string, required: Identificador único do membro
  - `appId` string, required: Identificador único do app
  - `role` string, nullable: Permissão associada ao membro
  - `createdBy` string, nullable: ID do usuário que criou o registro
  - `updatedBy` string, nullable: ID do usuário que atualizou o registro
  - `createdAt` string, date-time: Data de criação
  - `updatedAt` string, date-time: Data da última atualização

## Other responses

- `default`: Error response

## Changes

- **2026-10-21** `c7b8526c4c4c`: 2 info
  - the `createdAt` response's property default value changed from `2026-10-21T06:23:17.494Z` to `2026-10-21T08:15:40.052Z` for the status `200`
  - the `updatedAt` response's property default value changed from `2026-10-21T06:23:17.494Z` to `2026-10-21T08:15:40.052Z` for the status `200`
- **2026-10-21** `10e33f645cae`: 2 info
  - the `createdAt` response's property default value changed from `2026-10-21T05:12:38.875Z` to `2026-10-21T06:23:17.494Z` for the status `200`
  - the `updatedAt` response's property default value changed from `2026-10-21T05:12:38.875Z` to `2026-10-21T06:23:17.494Z` for the status `200`
- **2026-10-21** `0fa4b294ab62`: 2 info
  - the `createdAt` response's property default value changed from `2026-10-21T03:13:48.922Z` to `2026-10-21T05:12:38.875Z` for the status `200`
  - the `updatedAt` response's property default value changed from `2026-10-21T03:13:48.922Z` to `2026-10-21T05:12:38.875Z` for the status `200`
- **2026-10-21** `977959888866`: 2 info
  - the `createdAt` response's property default value changed from `2026-10-21T01:21:43.089Z` to `2026-10-21T03:13:48.922Z` for the status `200`
  - the `updatedAt` response's property default value changed from `2026-10-21T01:21:43.089Z` to `2026-10-21T03:13:48.922Z` for the status `200`
- …earlier changes not shown

[Operation history](https://skmtc.dev/rdstationmentoria/apis/accounts/changes/roles/:membershipId/:appId/get.md)

---

[API](https://skmtc.dev/rdstationmentoria/apis/accounts.md) · [All operations](https://skmtc.dev/rdstationmentoria/apis/accounts/llms.txt) · [OpenAPI document](https://skmtc.dev/rdstationmentoria/apis/accounts/revisions/c7b8526c4c4c?raw)
