Archive

Request retention extension

Requires explicit protection token permission. Cannot shorten existing or configured minimum retention.

POST/api/archive/{id}/retention

Authorizations

X-AUTH-TOKEN
stringheaderrequired

Value for the X-AUTH-TOKEN header parameter.

Path Parameters

id
integerrequired

No description provided.

Header Parameters

Idempotency-Key
string

Required here or as idempotencyKey in the body. Both, if given, must agree. Changed inputs conflict.

Request Body

application/json
required
{
  "expectedRevision": 1,
  "reason": "string",
  "idempotencyKey": "string",
  "retainUntil": "2024-08-23T00:00:00+00:00"
}

Response

202application/json

Durably accepted; follow Location until confirmed.

operationId
string<uuid>required
status
enum<string>required

Available options: pendingadmittedconfirmed

revision
integer
expectedRevision
integer
attempts
integer
error
string | null
kind
string
certificate
object | null