Roles Operations API

This API allows you to manage roles within an organization, including listing, creating, updating, retrieving, and deleting roles.

Base URLCopied!

https://localhost/api/v1

Endpoints OverviewCopied!

Method

Endpoint

Description

GET

/orgs/{org_id}/roles

Retrieve a list of all roles associated with the specified organization.

POST

/orgs/{org_id}/roles

Create a new role with specific permissions for an organization.

GET

/roles/{role_id}

Get detailed information about a specific role.

PATCH

/roles/{role_id}

Modify an existing role’s name or permissions.

DELETE

/roles/{role_id}

Permanently remove a role by ID.