hierarchy

Set the organisation retention cap.

Changed on
put/api/v1/orgs/{org}/retention

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/orgs/{org}/retention
  • Auth: HTTP bearer

Request body

mode'keep-if-either' | 'unlimited' required
max_age_secondsinteger nullable

Required for keep-if-either; absent for unlimited.

last_revisionsinteger nullable

Required for keep-if-either; absent for unlimited.

Response

The stored organisation retention cap.

mode'keep-if-either' | 'unlimited' required
max_age_secondsinteger nullable

Required for keep-if-either; absent for unlimited.

last_revisionsinteger nullable

Required for keep-if-either; absent for unlimited.

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • warning

      added the new payload_too_large enum value to the / response property for the response status

    • warning

      added the new payload_too_large enum value to the / response property for the response status

    • warning

      added the new payload_too_large enum value to the / response property for the response status

    • warning

      added the new payload_too_large enum value to the / response property for the response status

    • warning

      added the new payload_too_large enum value to the / response property for the response status

    • warning

      added the new payload_too_large enum value to the / response property for the response status

    • warning

      added the new unprocessable enum value to the / response property for the response status

    • warning

      added the new unprocessable enum value to the / response property for the response status

    • warning

      added the new unprocessable enum value to the / response property for the response status

    • warning

      added the new unprocessable enum value to the / response property for the response status

    • warning

      added the new unprocessable enum value to the / response property for the response status

    • warning

      added the new unprocessable enum value to the / response property for the response status