Help Center> Server Migration Service> API Reference> APIs> Source Server Management> Deleting Information About Source Servers in Batches

Deleting Information About Source Servers in Batches

Function

This API is used to delete information about multiple source servers at a time from the SMS console. Once the information about a source server is deleted, you can add the information about the source server to the SMS console again only by restarting the migration Agent on the source server.

URI

POST /v1/sms/sources/delete

Request

Request parameters

For details about the request parameters, see Table 1.

Table 1 Request parameters

Parameter

Mandatory

Type

Description

ids

Yes

JSON array

Specifies the collection of IDs of all source servers to be deleted.

Response

N/A

Example

  • Example request
    { 
    "ids":["1","2","3"]
    }
  • Example response

    None

Status Code

For details about the status code, see Status Code.

Error Code

For details, see Error Code.