Purge versions

DELETE {{baseUrl}}/v2/nodes/:id/versions?number_to_keep=-11141396

Purges the versions on the node. If the node is using advanced versioning, then it will only purge minor versions.

Request Params

KeyDatatypeRequiredDescription
number_to_keepnumberSpecifies the number of versions to keep ( must be a positive integer ). If the node is using advanced versioning, this parameter specifies the number of minor versions to keep. If this is not specified, the default value of 1 will be used.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"links":[{"data":{"self":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},{"data":{"self":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}]}