All Products
Search
Document Center

Network Intelligence Service:DeleteNetworkPath

Last Updated:May 08, 2024

Deletes a network path.

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
RegionIdstringNo

The region ID of the network path that you want to delete.

cn-shanghai
NetworkPathIdsarrayYes

The IDs of network paths.

stringYes

You can call the CreateNetworkPath operation to obtain the ID of the network path.

np-10c31b7aca0e4486****

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

C4331873-C534-590F-A905-F66C53B88A47
Databoolean

Result of operation

  • true: Delete Success
  • false: Delete Fail
true

Examples

Sample success responses

JSONformat

{
  "RequestId": "C4331873-C534-590F-A905-F66C53B88A47",
  "Data": true
}

Error codes

HTTP status codeError codeError messageDescription
400IllegalParam.DiskCategoryThe specified disk category (%s) is invalid.The specified disk category (%s) is invalid.
400SizeExceeds.ZonesThe length of the specified available zones exceeds the limit.The specified number of zones exceeds the upper limit.
400SizeExceeds.DiskCategoriesThe length of the specified disk categories exceeds the limit.The specified number of disk categories exceeds the upper limit.
400OperationDenied.ZonesConflictThe specified available zones do not belong to the same region.The specified zones do not belong to the same region.
400IllegalParam.ZoneIdThe specified available zone (%s) is invalid.The specified zone (%s) is invalid.
400IllegalParam.StepMinutesThe specified sampling interval (%s) is invalid.The specified sampling interval (%s) is invalid.
400IllegalParam.BeginTimeThe specified begin time (%s) is invalid.The specified start time (%s) is invalid.
400IllegalParam.EndTimeThe specified end time (%s) is invalid.The specified end time (%s) is invalid.
400Mismatch.BeginTimeAndEndTimeThe specified begin time must be earlier than the end time.The specified start time must be earlier than the end time.

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

Change history

Change timeSummary of changesOperation
2024-03-21The Error code has changed. The response structure of the API has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 400
Output ParametersThe response structure of the API has changed.