Delete a Library Version

delete

/ic/api/integration/v1/libraries/{id}

Deletes the library with the specified ID. The ID consists of the code and the version separated by the | (vertical line) character. When using cURL, substitute the %7C code for the vertical line.

Request

Supported Media Types
Path Parameters
  • Library identifier. The id must be added to the request in the following form: code%7Cversion. For example: JSLIB%7C01.00.0000. The %7C is the encoded | (vertical line).
Back to Top

Response

Supported Media Types

200 Response

Successful operation

404 Response

Not found

423 Response

Deletion not allowed

500 Response

Server error
Back to Top

Examples

The following example shows how to delete a JavaScript library 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 a library

The id is in the form: code%7Cversion. The %7C is the encoded | (vertical line).

curl -X DELETE -H 'Authorization: Bearer access_token' -H "Accept:application/json" https://integration.us.oraclecloud.com/ic/api/integration/v1/libraries/JSLIB%7C01.00.0000
Back to Top