Link Identities to Companies
machship_link_identities_to_companiesAssign companies and roles to identities to grant system access. Use this to link users to the correct company and permissions; administrator access required.
Instructions
Assign companies and roles to identities to give them access to the system. Requires administrator access.
Args:
links (array): Array of identity-company link objects, each with identityId, companyId, and roles
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"links": "<links>"
},
"name": "machship_link_identities_to_companies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| links | Yes | Identity-company links to create |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Validation errors returned by Machship, if any | |
| object | No | Response payload from the Machship API |