ninja_update_organization
Update an existing organization's name, description, or device approval mode by providing its ID.
Instructions
Update an existing 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), },