Delete Process Attachments
/ic/api/process/v1/processes/{processId}/attachments/{attachmentId}
Deletes process attachments.
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
-
attachmentId(required): string
Value of attachment Id
-
processId(required): string
Value of process ID
Response
- text/plain
- application/json
200 Response
500 Response
Examples
The following example shows how to delete a process attachment by using DELETE request on the REST resource.
Send Request
https://example.com/ic/api/process/v1/processes/<processId>/attachments/<attachmentId>
Where,
-
example.com
is the host where Oracle Integration is running. -
<version> is the REST API version.
Example of Response Header
Status Code: 200 OK Content-Type: application/json
Example of Response Body
ProcessAttachment deleted successfully