younifyd
Menu

Getasinglerole

Get a single role

GET/v3/roles/{role_uid}

Use it in a workflow

  1. Add a step and choose the Contentstack connector.
  2. Pick the Getasinglerole action (under Roles).
  3. Fill in the fields below, then reference the result from later steps as {{getasinglerole.response.data}}.

Request

Path parameters

role_uidstringrequired

Query parameters

include_permissionsstring

Set this parameter to 'true' to include the details of the permissions assigned to a particular role.

include_rulesstring

Set this to ‘true’ to include the details of the rules assigned to a particular role.

Response

Returns 200 with a any. Read it in later steps with {{getasinglerole.response.data.<field>}}.

Need more? See the Contentstack guide for connection setup and behaviour shared by every action.

Was this page helpful?
Getasinglerole — Contentstack — Documentation