Actions57
- User Actions
- Organization Actions
- Group Actions
- Ticket Actions
- Article Actions
- Priority Actions
- State Actions
- Tag Actions
- Mention Actions
- Online Notification Actions
- Object Actions
- User Access Token Actions
State → Delete
AI-generatedOverview
This node operation deletes a specific state resource in the Zammad system using the REST API. It is useful for automating the removal of ticket states in a helpdesk or customer support environment managed by Zammad. For example, if a ticket state is no longer needed or was created by mistake, this operation can programmatically delete it by specifying its ID.
Use Case Examples
- Deleting a ticket state by its ID to clean up unused or obsolete states in the system.
- Automating state management workflows by removing states that are no longer relevant.
Properties
| Name | Meaning |
|---|---|
| Authentication | The authentication method to use for the API request (Basic, OAuth2, or Token Authentication). |
| API | The API to use for the request, either REST API or CTI API. |
| State ID | The unique identifier of the state to delete. This is a required field when deleting a state via the REST API. |
Output
JSON
id- The ID of the deleted state.name- The name of the deleted state.state_type_id- The type identifier of the deleted state.
Dependencies
- Zammad REST API
Troubleshooting
- Ensure the State ID provided is valid and exists in the system; otherwise, the API will return an error indicating the state was not found.
- Verify that the authentication credentials are correct and have sufficient permissions to delete states.
- Check that the API parameter is set to 'rest' since the delete operation for states is only supported via the REST API.
Links
- Zammad API Documentation - Delete Ticket State - Official documentation for deleting ticket states using the Zammad REST API.
