DELETE V1 ems/attachments?entityType={entityType}&identifier={attachment_id}
Delete the attachment from the EMS repository with the given identifier.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| entityType | The entity type. This should be one of the following: experiment, plate, well,
study, project |
Define this parameter in the request URI. |
| identifier | The identifier for the required attachment, in the form of a GUID, with or without hyphens |
Define this parameter in the request URI. |
Example Request
To delete the attachment with the identifier 2421042979a6474a872e77f046b8802e, making the following API call.
Note that the Accept header must be set to accept any type of content.
DELETE /ems/attachments?entityType=experiment&identifier=2421042979a6474a872e77f046b8802e
Response Information
HTTP Status Codes
| Status Code | Meaning |
|---|---|
| 200 (OK) | The request completed successfully, and the contents of the attachment are deleted. |
| 404 (Not Found) | No attachment with the given identifier was found. |