com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.

Deleting a Dataset Version via REST API v10

Overview

DescriptionDelete a dataset version of a given dataset ID.
Resource Path

/api/v10/datasets/versions/{versionsetId}

HTTP MethodDELETE
Request/Response Formatapplication/json
Parameter description
Parameter
Description
{versionset_id}ID of the version set that you need to delete.

Sample cURL command

curl -X DELETE "Content-Type: application/json" -H "Authorization: Basic YWRtaW46YWRtaW4=" -v https://localhost:9443/api/v10/datasets/versions/1 -k

Example

DELETE https://localhost:9443/api/v10/datasets/versions/{versionsetId}

REST API response

HTTP status code

200 or 500.

For descriptions of the HTTP status codes, see HTTP Status Codes.