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
Key | Datatype | Required | Description |
---|---|---|---|
number_to_keep | number | Specifies 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
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
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"}}}]}