SpiraPlan: REST Web Service (v7.0)

See all operations

DELETE: projects/{project_id}/documents/versions/{attachment_version_id}

Description

Deletes an attachment version from the project completely

To delete a version you must have modify permissions for documents. You can't delete the current version.

How to Execute

To access this REST web service, you need to use the following URL (make sure to replace any parameters (eg {project_id}) with the relevant value (eg 1):

https://api.inflectra.com/spira/services/v7_0/RestService.svc/projects/{project_id}/documents/versions/{attachment_version_id}

Request Parameters

Name Description
project_id The id of the current project
attachment_version_id The id of the attachment version to delete

Request Body

Return Data

The JSON and XML examples below show the shape of one entry that will be returned. It does not show an example of how that entry will be populated.