internal

Deprecated; use setGCRules.

post/repositories/{repository}/gc/rules

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/repositories/{repository}/gc/rules
  • Auth
    • HTTP bearer
    • or HTTP basic
    • or API key in cookie internal_auth_session

Request body

default_retention_daysinteger required

Response

set garbage collection rules successfully

Changes