Remove attachment version
This method will delete the specified version of an attachment identified by attachmentId and version.
If the operation is successful, it returns a response indicating that no content is returned. If the specified attachment or version does not exist, or if the user does not have permission to remove the attachment, appropriate exceptions are thrown and mapped to their corresponding HTTP responses.
DELETE
/rest/api/content/{id}/child/attachment/{attachmentId}/version/{version}Path parameters
attachmentIdstringrequiredThe id of the attachment to be removed.
idstringrequiredThe id of the content the attachment is on.
versioninteger<int32>requiredResponses
204
Returns no content if the specified attachment version is successfully removed.
400
Returned if the user does not have permission to remove the attachment.
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstring404
Returned if the specified attachment or version does not exist.
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstring