Expire content immediately

Expire one or more Library content versions immediately, at the moment of the call. Use this operation instead of setting a future expiration date when content must stop being available right away. The call is synchronous: when an item is reported as Succeeded, that version is already expired when the response returns.

Domain Terms

  • items: The content to expire. Each entry targets one version of one content item.
  • contentId: The Library content identifier. A contentId must not appear more than once in a request.
  • versionId: Optional. The version to expire. When omitted, the latest version of the content is expired (the newest version, including drafts). To expire the currently active version, pass its versionId.

Behavior

  • Only the given version expires. Other versions of the content are not changed.
  • If the expired version is the active version, the content is deactivated and is no longer available in DocCenter and Workspace. If a different version (for example a draft) is expired, the active version stays live.
  • If the version already has a scheduled expiration, it is still expired now and the item is reported as Succeeded, not Ignored. The scheduled expiration date is replaced by the time of the call.
  • Notifications are the same as when expiring content from the Seismic user interface.
  • Retrying an already expired version returns Ignored, so retries are safe.
  • A secondary-language variant cannot be expired through this operation. The item is reported as Failed and nothing is expired, including the primary content.
  • Every item must belong to the teamsite in the path. An item whose content or version belongs to another teamsite is reported as Failed (not found) and is not expired.

Authorization

  • The token must carry the seismic.library.manage scope; otherwise the request is rejected with 403.
  • Each item is also checked against the user the token represents. An item the user is not allowed to expire is reported as Failed and the remaining items are still processed.

Limits

  • At most 100 items per request. A larger request is rejected with 400.
  • Rate limit: 10 requests per 60 seconds. Requests beyond the limit receive 429. Send full batches to stay within the limit.

Result codes

  • 200: the request is valid and no item failed. Items are Succeeded or Ignored.
  • 207: the request is valid and at least one item failed. Read FailedDetail for the reason of each item; the other items are still processed.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Identifier of the teamsite (library) that contains the content to expire. All items in the request must belong to this teamsite.

Body Params

The content versions to expire immediately.

Request body samples

{
  "items": [
    { "contentId": "6604995b-65c8-460c-abf4-2c0512292aeb", "versionId": "8d8d89bc-3803-409d-9937-2b76f80bafd6" },
    { "contentId": "d77b3c1e-52a0-4f0a-9d63-0f6a1c2b7e41" }
  ]
}

Request model for expiring Library content immediately. Each item expires one version of one content item.

items
array of objects
required
length between 1 and 100

The content versions to expire. Contains 1 to 100 items. A contentId must not appear more than once.

items*

One content version to expire immediately.

string
required
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

The unique identifier of the Library content item to expire.

string
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

The version to expire. When omitted, the latest version of the content (the newest version, including drafts) is expired. To expire the currently active version, pass its version identifier.

Responses

429

Too Many Requests. The rate limit of 10 requests per 60 seconds was exceeded. Wait for the window to pass and retry.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json