Remove Attachment from a Control

Allows files attached to questionnaire controls to be removed.

 

URL

{RMUrl}/api/risk/questionnaires/<QuestionnaireId>/attachments/<FileID>

 

REQUEST METHOD

DELETE

 

URL PARAMETERS

QuestionnaireId: This parameter is provided in the URL and does not need to be sent through DELETE.

FileID: This parameter is provided in the URL and does not need to be sent through DELETE.

 

REQUEST EXAMPLE

Removes attachment "57" from questionnaire with ID "178":

{RMUrl}/api/risk/questionnaires/178/attachments/57

 

SUCCESS RESPONSE EXAMPLE

HTTP status code 204: NoContent