Archive ticket
Tickets
Archive ticket
DELETE /tickets/ — archive an object
DELETE
Archive ticket
Endpoint
/tickets/{ticketId}Authentication: Bearer JWT Path parameter:
ticketId — object ID
DELETE archives the object. The record is kept and archived is set to an ISO timestamp.
Response fields after archive
The 200 response uses default properties plusarchived_by:
| Property | Description |
|---|---|
id | Internal object ID |
ticket_name | Custom or system field (flat on the object) |
pipeline | Custom or system field (flat on the object) |
ticket_owner | Assigned owner email |
external_id | External identifier (nullable) |
archived | false when active; ISO timestamp when archived |
archived_by | User or API client ID who archived the object (only when archived; added automatically) |
| Field | Value when archived |
|---|---|
archived | ISO timestamp (no longer false) |
archived_by | ID of the user or API client who archived the object |
created_at and updated_at are always included in every response.Response example
Errors
| Status | When |
|---|---|
400 | Missing ticketId in path |
401 | Missing account context |
404 | Object not found or already archived |
Authorizations
Bearer JWT with valid account context.
Path Parameters
Object identifier
Response
Archived object
