Abort an Integration Instance
/ic/api/integration/v1/monitoring/instances/{id}/abort
Request
-
id(required): string
Integration instance identifier.
-
integrationInstance(required): string
This is the name of the service instance. You can get this value from the About page where it is specified in the Service instance field.
There's no request body for this operation.
Back to TopResponse
- application/json; charset=utf-8
200 Response
object
-
abort-job-id: string
Abort Job Id
-
message: string
Message
-
status: string
Allowed Values:
[ "IN_PROGRESS", "SCHEDULE_WAITING", "QUEUED", "SCHEDULE_PAUSED", "PAUSED", "FAILED", "COMPLETED", "ABORTED", "UNKNOWN", "RESUBMITTED", "BLOCKED" ]
400 Response
404 Response
409 Response
500 Response
Examples
The following example shows how to abort a instance by submitting a POST request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, see Send Requests.
Example: Abort an Integration Instance
Request:
curl -X POST -H 'Authorization: Bearer access_token' -H "Content-Type:application/json" https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/monitoring/instances/hpTwuRitEe2sHXnqDAJVyQ/abort?integrationInstance=service-instance
Request Body:
The following example shows the contents of the request body in JSON format. This is
the content of the runIntegration.json
file
listed in the cURL command.
{}