Retrieve a specific role

Fetch the details of a specific role by providing its unique ID.

GET
/organizations/{organizationId}/roles/{roleId}
AuthorizationBearer <token>

In: header

Path Parameters

organizationId*string

Unique identifier of the organization

roleId*string

Unique identifier of the organization role

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api-testnet.dual.network/organizations/string/roles/string"
{
  "id": "string",
  "name": "string",
  "description": "string",
  "permissions": [
    {
      "resource": "api-keys",
      "crud": {
        "read": true,
        "create": true,
        "update": true,
        "delete": true
      }
    }
  ],
  "when_created": "2019-08-24T14:15:22Z",
  "when_modified": "2019-08-24T14:15:22Z"
}
{
  "code": 0,
  "message": "string",
  "details": {}
}
{
  "code": 0,
  "message": "string",
  "details": {}
}
{
  "code": 0,
  "message": "string",
  "details": {}
}