Accessing Compute Classic Using REST API

You can programmatically provision and manage Compute Classic instances and the associated storage and networking resources by using a REST (REpresentational State Transfer) application programming interface (API).

Each REST API call maps to an HTTP request: getting an object (GET), adding an object (POST), updating an object (PUT), and deleting an object (DELETE). The HTTP response code indicates whether the request was successful. Each object for which you can perform the GET, POST, PUT, and DELETE requests is identified uniquely by its URI.

To access Compute Classic by using the REST API you must use the REST endpoint URL that Oracle provided when your administrator subscribed to the service.

To find out the REST endpoint URL for your service, see Send Requests in REST API for Oracle Cloud Infrastructure Compute Classic.