Get a single role
GET<your-unleash-url>/api/admin/roles/:roleId
Get a single role by role id
Request
Responses
- 200
- 400
- 401
- 404
roleWithPermissionsSchema
The request data does not match what we expect.
Authorization information is missing or invalid. Provide a valid API token as the authorization
header, e.g. authorization:*.*.my-admin-token
.
The requested resource was not found.
Authorization: Authorization
name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L '<your-unleash-url>/api/admin/roles/:roleId' \
-H 'Accept: application/json' \
-H 'Authorization: <Authorization>'
ResponseClear