fossa_list_roles
List roles and permissions in a FOSSA organization, including which roles your token can assign.
Instructions
List the roles in the FOSSA organization, the permission catalog they are built from, and which of them the calling token may hand out.
Read-only. Sections: "roles" is every role with its scope and permission
list, "permissions" is the catalog of (resourceType, action) pairs a custom
role can be assembled from, "assignable" is the subset of role ids this API
token is allowed to assign — FOSSA only lets a caller grant permissions it
already holds, so a role missing from "assignable" will be refused when used
in a team or service account write. Defaults to "roles" alone. Each section
costs one FOSSA request. None of these endpoints is paginated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sections | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||