manage_departments
Create, retrieve, list, update, and delete departments in Snipe-IT. Manage organizational units assigned to users.
Instructions
Manage Snipe-IT departments with CRUD operations.
Departments are organizational units within a company that can be assigned to users.
Actions:
create: Create a new department (requires department_data with name)
get: Retrieve a single department by ID
list: List departments with optional pagination and filtering
update: Update an existing department
delete: Delete a department
Returns: dict: Result of the operation including success status and data
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Field to sort by (for list action) | |
| limit | No | Number of results to return (for list action) | |
| order | No | Sort order (for list action) | |
| action | Yes | The action to perform on departments | |
| offset | No | Number of results to skip (for list action) | |
| search | No | Search query (for list action) | |
| department_id | No | Department ID (required for get, update, delete) | |
| department_data | No | Department data (required for create, optional for update) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||