Delete a Connection in a Project
delete
/ic/api/integration/v1/projects/{projectId}/connections/{id}
Deletes the connection with the specified ID in a project.
Request
Path Parameters
-
id(required): string
Connection identifier
-
projectId(required): string
Project identifier
Query Parameters
-
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
200 Response
Successful operation
404 Response
Connection not found
423 Response
Connection is locked
500 Response
Server error
Examples
The following example shows how to delete a connection in a project by submitting a DELETE 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: Delete the connection REST_SAMPLE in the project TEST_PROJECT
curl -X DELETE -H 'Authorization: Bearer access_token' -H "Accept:application/json" https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/projects/TEST_PROJECT/connections/REST_SAMPLE?integrationInstance=service-instance