ServiceOfferingInstance decommission request
Description
This API decommissions the service offering instance specified by the identifier in the URI.
API stability classification
API overview
HTTP request message
Query string parameters
This API does not use query string parameters.
Request message headers
This API uses only common headers listed in HTTP-request-and-response-headers.
Request message body
This API uses the following objects in the request message body JSON.
Top-level objects
Input parameters to include in operationParams
HTTP response message
Response message headers
This API uses only common headers listed in HTTP-request-and-response-headers.
Response message body
The response message body contains a Task object.
Example
The following example shows an HTTP request to decommission a Service Offering Instance (SOI):
URL Syntax /csm/serviceofferinginstance/<guid>/decommission
{
"timeout" : -1,
"preCallout" : "",
"postCallout" : "",
"callbackURL" : ""
}
{
"timeout" : -1,
"preCallout" : "",
"postCallout" : "",
"callbackURL" : ""
}
The following example shows the response for the preceding request.
[
{
"cloudClass" : "com.bmc.cloud.model.beans.Task",
"className" : "ServiceOfferingInstance",
"completionTime" : "$$*$$",
"creationTime" : "$$*$$",
"errors" : [],
"guid" : "$$*$$",
"isCallout" : false,
"isError" : false,
"isSuccess" : true,
"objectName" : "$$*$$",
"operationName" : "decommission",
"parentTaskInternalUUID" : "$$*$$",
"results" : "$$*$$",
"taskInternalUUID" : "$$*$$",
"taskProgress" : 100.0,
"taskResultURI" : "$$*$$",
"taskState" : "COMPLETED",
"taskStatusURI" : "$$*$$",
"taskSubState" : "$$*$$",
"transactionID" : "$$*$$"
}
]
{
"cloudClass" : "com.bmc.cloud.model.beans.Task",
"className" : "ServiceOfferingInstance",
"completionTime" : "$$*$$",
"creationTime" : "$$*$$",
"errors" : [],
"guid" : "$$*$$",
"isCallout" : false,
"isError" : false,
"isSuccess" : true,
"objectName" : "$$*$$",
"operationName" : "decommission",
"parentTaskInternalUUID" : "$$*$$",
"results" : "$$*$$",
"taskInternalUUID" : "$$*$$",
"taskProgress" : 100.0,
"taskResultURI" : "$$*$$",
"taskState" : "COMPLETED",
"taskStatusURI" : "$$*$$",
"taskSubState" : "$$*$$",
"transactionID" : "$$*$$"
}
]
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*