Get Available Roles
machship_get_available_rolesRetrieves all assignable user roles for a specified company ID, helping you determine which roles can be granted to users.
Instructions
Get all roles that are available to assign to users of a certain company.
Args:
companyId (number): Company ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| companyId | Yes | Company ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Validation errors returned by Machship, if any | |
| object | No | Response payload from the Machship API |