Skip to content

Support

support_status_archive

Retire a status.

Tool

support_status_archive

Retire a status.

Retire a status. There is no way to delete one: every thread on it moves to the target status in the same transaction, so no thread is ever left on an archived status. The target must be a different, live status of this product

Behavior

HTTP
POST /support/statuses/:id/archive

Arguments

NameTypeRequiredDescription
idstringStatus id
targetStatusIdstringLive status every thread on the archived status moves to, in the same transaction

Response

FieldTypeAlwaysDescription
idstringStatus id
namestringStatus name, unique within the product
colorstringDisplay colour as a hex string
orderintegerSort order within the status dictionary
archivedbooleanArchived statuses stay readable but are not offered as targets
categorystringLifecycle bucket the status belongs to

Try it

Retire a status.

When to use

Retire a status. There is no way to delete one: every thread on it moves to the target status in the same transaction, so no thread is ever left on an archived status. The target must be a different, live status of this product

Example

Ask your agent something like this:

Retire a status.

The agent will invoke support_status_archive with these arguments:

{
  "id": "<id>",
  "targetStatusId": "<targetStatusId>"
}

Esc

Start typing to search the docs.

navigateselect