Delete a Task Attachment
delete
/ic/api/process/v1/tasks/{id}/attachments/{attachmentName}
Deletes an attachment by name.
NOTE:
Whether a process application uses documents or attachments depends on the application configuration.
- If Oracle Content and Experience(documents) is enabled, the application can only use documents, and API operations on attachments do not apply.
- If Oracle Content and Experience(documents) is not enabled, the application can only use attachments, and API operations on documents do not apply.
To identify whether Oracle Content and Experience(documents) is enabled in a process application, use the API /ic/api/process/v1/processes/{processId} to retrieve process instance details. Oracle Content and Experience(documents) is enabled when the parameter isDoCSEnabled=true.
Request
Path Parameters
-
attachmentName: string
Name of attachment to be deleted
-
id: string
Task Number
Response
Supported Media Types
- text/plain
- application/json
200 Response
Attachment Removed Successfully.
Root Schema : schema
Type:
string
400 Response
Bad Request
401 Response
Unauthorized
404 Response
Conflict
500 Response
Internal Server Error