psm autoanalyticsinst delete-service
Use this command to delete a service created with Oracle Analytics Cloud. Once deleted, the account is no longer charged.
Note:
Only an Oracle Analytics Cloud administrator can use this command.Syntax
In the following syntax, line breaks have been added for clarity. Don't include them when entering the command.
psm autoanalyticsinst delete-service -s|--service-name instance-name
-f|--force true|false
[-wc|--wait-until-complete true|false]
[-of|--output-format json|html|short]
Parameters
All parameters are required unless otherwise noted.
Parameter | Description |
---|---|
|
Specifies the name of the service you want to delete. |
|
Ensures the service is deleted even if errors occur. The default
value is |
|
(Optional) If set to Waiting for the job to complete... (it cannot be cancelled) The default value is |
|
(Optional) Specifies the output format of the command’s response:
The default output format is the one you specified when using the
|
Example
$ psm autoanalyticsinst delete-service -s Example1Service -n SYS -p password
This command returns a job ID. To see the status of your
delete-service
operation, use this ID with the psm autoanalyticsinst operation-status command:
$ psm autoanalyticsinst operation-status -j 34373
When you see the following message, the service was successfully deleted.
"operationId":364,
"operationType":"DELETE_SERVICE",
"serviceId":364,
"serviceName":"Example1Service",
"serviceType":"autoanalyticsinst",
"startDate":"2017-02-28T21:50:47.192+0000",
"status":"SUCCEED",
"summaryMessage":"DELETE_SERVICE"