# Отримати дозволи для користувача, що здійснює виклик GET /api/des-client/me/permissions

<span class="HwtZe" id="bkmrk-%D0%9F%D0%BE%D0%B2%D0%B5%D1%80%D1%82%D0%B0%D1%94-%D0%BF%D0%B0%D1%80%D0%B8-resour" lang="uk"><span class="jCAhz ChMk0b"><span class="ryNqvb">Повертає пари resource:action для автентифікованого користувача, який здійснює виклик.</span></span> <span class="jCAhz ChMk0b"><span class="ryNqvb">Дозвіл на виконання операції не потрібен.</span></span></span>

##### **REQUEST**

<div class="wy-table-responsive" id="bkmrk-url-%D0%9C%D0%B5%D1%82%D0%BE%D0%B4-%D0%B7%D0%B0%D0%BF%D0%B8%D1%82%D1%83-get"><table class="colwidths-given docutils align-default" style="width: 78.8095%; height: 339.4px;"><colgroup><col style="width: 23.7498%;"></col><col style="width: 76.2218%;"></col></colgroup><tbody><tr class="row-odd" style="height: 35.2px;"><td style="height: 35.2px;">**URL**

</td><td style="height: 35.2px;">[https://des-client.stage.akcyz.edin.ua](https://des-client.stage.akcyz.edin.ua)

</td></tr><tr class="row-even" style="height: 29.6px;"><td style="height: 29.6px;">Метод запиту

</td><td style="height: 29.6px;">GET

</td></tr><tr class="row-odd" style="height: 29.6px;"><td style="height: 29.6px;">URL запиту

</td><td style="height: 29.6px;">**/api/des-client/me/permissions**

</td></tr><tr style="height: 29.6px;"><td style="height: 29.6px;">URL параметри

</td><td style="height: 29.6px;">**tenant** (string) обов'язково - Tenant ідентифікатор. Лише одне значення

</td></tr><tr class="row-even" style="height: 29.6px;"><td style="height: 29.6px;">**Headers**

</td><td style="height: 29.6px;"> </td></tr><tr class="row-odd" style="height: 35.2px;"><td style="height: 35.2px;">Authorization

</td><td style="height: 35.2px;">Bearer

</td></tr></tbody></table>

</div>##### **RESPONSE**

- <span style="color: rgb(45, 194, 107);">Статус 200 - OK</span>

Об'єкт [MyPermissions](https://wiki-v2.edin.ua/books/robota-z-api-produktu-e-akciz/page/objekt-mypermissions)

Headers:

<div class="headers-wrapper" id="bkmrk-name-description-typ"><table class="headers" style="width: 79.0476%;"><thead><tr class="header-row"><th class="header-col" style="width: 17.3999%;">Name</th><th class="header-col" style="width: 74.0315%;">Description</th><th class="header-col" style="width: 8.53578%;">Type</th></tr></thead><tbody><tr><td class="header-col" style="width: 17.3999%;">Cache-Control</td><td class="header-col" style="width: 74.0315%;">Prevents storage of the caller's permissions by HTTP caches (no-store).

</td><td class="header-col" style="width: 8.53578%;">string</td></tr></tbody></table>

</div>

- <span style="color: rgb(224, 62, 45);">Статус 400 - Bad Request</span>

Об'єкт [ProblemDetails](https://wiki-v2.edin.ua/books/robota-z-api-produktu-e-akciz/page/objekt-problemdetails)

- <span style="color: rgb(224, 62, 45);">Статус 401 - Unauthorized</span>
- <span style="color: rgb(224, 62, 45);">Статус 403 - Forbidden</span>

Об'єкт [ProblemDetails](https://wiki-v2.edin.ua/books/robota-z-api-produktu-e-akciz/page/objekt-problemdetails)

- <span style="color: rgb(224, 62, 45);">Статус 500 - Internal Server Error</span>

Об'єкт [ProblemDetails](https://wiki-v2.edin.ua/books/robota-z-api-produktu-e-akciz/page/objekt-problemdetails)

- <span style="color: rgb(224, 62, 45);">Статус 503 - Service Unavailable</span>

Об'єкт [ProblemDetails](https://wiki-v2.edin.ua/books/robota-z-api-produktu-e-akciz/page/objekt-problemdetails)

Headers:

<table class="headers" id="bkmrk-name-description-typ-1" style="width: 51.6667%;"><thead><tr class="header-row"><th class="header-col" style="width: 22.2105%;">Name</th><th class="header-col" style="width: 61.6076%;">Description</th><th class="header-col" style="width: 16.129%;">Type</th></tr></thead><tbody><tr><td class="header-col" style="width: 22.2105%;">Retry-After</td><td class="header-col" style="width: 61.6076%;">Seconds to wait before retrying (5).

</td><td class="header-col" style="width: 16.129%;">integer</td></tr></tbody></table>