Updated on 2022-08-02 GMT+08:00

Modifying the Name of the Source Server with a Specified ID

Function

This API is used to modify the source name of the source server on the SMS server so that users can manage the source servers through SMS.

URI

PUT /v1/sms/sources/{source_id}

For details about the parameters, see Table 1.
Table 1 Parameter description

Parameter

Mandatory

Description

source_id

Yes

Specifies the source server ID.

Request

Request parameters

For details about the request parameters, see Table 2.

Table 2 Request parameters

Parameter

Mandatory

Type

Description

name

Yes

String

Specifies the new source server name.

Response

None

Example

  • Example request
    {
      "name": "newName"
    }
  • Example response

    None

Status Codes

See Status Codes.