ninja_update_organization
Update an existing organization's name, description, or device approval mode by providing its ID.
Instructions
Update an existing organization.
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": {
"id": "<id>"
},
"name": "ninja_update_organization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Organization ID | |
| name | No | Organization name | |
| description | No | Organization description | |
| nodeApprovalMode | No | How new devices are approved |
Implementation Reference
- src/tools/organizations.ts:96-98 (handler)The handler function for ninja_update_organization. It destructures 'id' from args and passes the rest as body to a PATCH request to /organization/{id}.
handler: async ({ id, ...body }, client: NinjaOneClient) => client.patch(`/organization/${id}`, body), },