Attachment Delete
Last updated
Deletes an attachment.
This is the URI OpsHub will execute to call this API:
DELETE: entities/{entityTypeId}/{entityId}/attachments?
attachmentId={attachmentId}&
projectId={projectId}&
attachmentType={attachmentType}&
typeItemId={typeItemId}entityTypeId
path
True
String
‘id’ of entity type for given entity id
entityId
path
True
String
‘id’ of the entity in which attachment to be deleted
attachmentId
path
True
String
Id of the attachment that needs to be deleted
projectId
query
True
String
Project in which the given entity exists
attachmentType
query
False
String
Name of the field from which the attachment needs to be deleted. For example, if the attachment needs to be deleted from 'Steps' field, attachmentType="Steps"
typeItemId
query
False
String
Id of the item within the field from which the attachment needs to be deleted. For example, if the attachment needs to be deleted from step 1 of 'Steps' field, provide id of step 1, typeItemId="10409526"
This API does not require a request body. Only HTTP status 204 is returned on successful deletion.
Last updated

