Skip to main content
Version: Node SDK

Get One Role

Returns the details of a single role.

Code Sample

import { Salable } from '@salable/node-sdk';

const salable = new Salable('{{API_KEY}}');

const role = await salable.rbac.roles.getOne('41cf33a2-136e-4959-b5c7-73889ab94eff');

Parameters

uuid (required)

Type: string

uuid of the role you want to retrieve

Return Type

Promise of a role object