Delete a resource unit specification

2024-07-30 09:31:29  Updated

Description

You can call this operation to delete a resource unit specification.

Call description

Prerequisites

You have passed the authentication for the OceanBase Cloud Platform (OCP) application service.

Request path

DELETE /api/v2/ob/unitSpecs/{specId}

Request parameters

Parameter Type Required Example value Description
specId Integer Yes The ID of the resource unit specification.

Response parameters

Basic data structure

Parameter Type Description
successful Boolean Indicates whether the request is successful.
timestamp Datetime The timestamp when the server completes the request.
duration Integer The amount of time taken by the server to process the request, in milliseconds.
status Integer The HTTP status code.
traceId String The trace ID of the request. This trace ID is used for troubleshooting.
server String The address of the application server that responds to the request.

Examples

Sample request

DELETE /api/v2/ob/unitSpecs/{specId}

Sample response

{
  "duration": 284,
  "server": "xxx.xxx.xxx.xxx",
  "status": 200,
  "successful": true,
  "timestamp": "2022-08-08T16:45:18.674+08:00",
  "traceId": "xxx"
}

Contact Us