All Products
Search
Document Center

ENS:DeleteSDG

Last Updated:Jul 04, 2024

Deletes a shared data group (SDG).

Operation description

If all the SDGs corresponding to the original disk are deleted, the original disk is automatically cleared.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
SDGIdarrayYes

IDs of SDGs that you want to delete. You can delete a maximum of 10 SDGs at a time.

stringYes

The ID of the SDG that you want to delete. You can delete a maximum of 10 SDGs at a time.

sdg-xxx

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The request ID.

86A6D421-A0C7-4C01-8648-47377CA6A2CE

Examples

Sample success responses

JSONformat

{
  "RequestId": "86A6D421-A0C7-4C01-8648-47377CA6A2CE"
}

Error codes

HTTP status codeError codeError messageDescription
400Interface.Call.ErrorThe interface call error-
400Interface.Call.Failed%s.Request failed
400Parameter.InvalidThe parameter is invalid. Please check your parameters and try it again.The parameter is invalid.
400NoPermissionPermission denied.-
400InvalidParameter.%sThe specified field %s invalid. Please check it again.-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-06-27The Error code has changed. The response structure of the API has changedView Change Details
2024-03-22The Error code has changedView Change Details