CorebanqCorebanq Developer Docs
Rolesv1

Get role

Get role details

GET/v1/roles/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

id path parameter

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/roles/string"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "name": "string",
  "description": "string",
  "active": true,
  "system": true,
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z"
}
{
  "code": "roles_m.role_not_found",
  "message": "Role not found"
}