v1

latestOpenAPI 3.1.02026-07-26359254.7 MB
Sequences

Bulk archive sequences

<small>Requires the sequences:write scope (or a broader one that includes it).</small>

Archives multiple sequences at once. Non-atomic — some may succeed while others fail.

post/v3/sequences/archive

Request body

idsinteger[] required

List of sequence IDs to archive

Response

Dictionary of failed items keyed by sequence ID. Empty object {} means all succeeded.

Per-item failures use the SequenceActionError enum. Common per-item slugs:

SlugMeaning
notFoundSequence does not exist
forbiddenCaller lacks permission for this sequence
archivedSequence is already archived
salesAgentNotAllowedOperation not permitted on a sales-agent sequence
object required