Pangolin icon

Pangolin

Interact with the Pangolin API

Actions142

Role → Create a role.

AI-generated

Summary

Create a new role within an organization by providing the organization ID and the role details in the request body.

Inputs

  • Org ID (required) — The unique identifier of the organization under which the role will be created.
  • Body (required) — A JSON object representing the role to create, typically including the role's name and optional description.
  • Options — Optional settings such as whether to return the raw full response instead of structured output.

Output shape

A single JSON object representing the created role.

The response format can be changed to raw by enabling the 'Raw Response' option. Otherwise, the operation returns the parsed JSON data of the created role.

Discussion