kythene.v1.KytheneService

SetCollectionState

SetCollectionState moves a collection through its lifecycle with one call - the aggregate of archive/restore/delete/cancel behind a target state.

post/kythene.v1.KytheneService/SetCollectionState

Request

  • Base URL: https://kythene.com (the document declares no server; this is the origin it was published from)
  • URL: https://kythene.com/kythene.v1.KytheneService/SetCollectionState
  • Auth: none required

Headers

Connect-Protocol-Version1 required

Define the version of the Connect protocol

Connect-Timeout-Msnumber

Define the timeout, in ms

Request body

idstring

id is the collection to move.

statestring

state is the target lifecycle state: "live" - make an archived collection live again (restore); "archived" - archive a live collection, OR cancel a scheduled deletion, leaving the collection archived; "deletion_scheduled" - schedule permanent deletion of an archived collection after the 30-day grace window. This transition still requires delete permission (the domain enforces it), even though the tool is gated on update - an update-only caller is refused here.

spacestring

space optionally selects which of your spaces to act in (an id or name from list_spaces). Omit it when you belong to a single space.

Response

Success

KytheneV1SetCollectionStateResponse required

Changes

No recorded changes to this operation across all 1 revision of this API.