psm dbcs delete-service

Delete an Oracle Database Cloud Service instance.


psm dbcs delete-service -s|--service-name instance-name [-of|--output-format json|html|short]


Parameter Description

-s|--service-name instance-name

Specifies the name of the Database Cloud Service instance you want to delete.

-of|--output-format json|html|short

(Optional) Specifies the output format of the command’s response:

  • json—output is formatted as a JSON array.

  • html—output is formatted as HTML

  • short—output is formatted as a brief summary.

The default output format is the one you specified when using the psm setup command to configure the psm CLI.


The following example deletes the db12c-eeep Database Cloud Service instance.

$ psm dbcs delete-service --service-name db12c-eeep
    "creation_time":"Tue May 3 0:35:23 UTC 2016",
    "description":"Example deployment",
    "last_modified_time":"Tue May 3 0:35:23 UTC 2016",
Job ID : 555373

Here is the information about job 555373 upon successful completion of the operation:

$ psm dbcs operation-status --job-id 555373
            "message":"Activity Submitted"
            "message":"Activity Started"
            "message":"Initiating Database Service Termination..."
            "message":"Stopped all Compute resources..."
            "message":"Removed Compute resources..."
            "message":"Database Service record removal complete..."
            "message":"Activity Ended"