全部产品
Search
文档中心

资源管理:UpdateMessageContact - 更新联系人信息

更新时间:Aug 27, 2026

更新联系人信息。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求参数

名称

类型

必填

描述

示例值

ContactId

string

联系人 ID。

c-qL4HqKONzOM7****

Name

string

联系人的名称。

tom

EmailAddress

string

联系人的邮箱地址。

添加邮箱地址后,您需要继续调用 SendEmailVerificationForMessageContact 向该邮箱地址发送验证信息,通过验证后,该联系人的邮箱地址才能生效。

someone***@example.com

PhoneNumber

string

联系人的手机号码。

格式:<国家码>-<手机号码>

添加手机号码后,您需要继续调用 SendPhoneVerificationForMessageContact 向该手机号码发送验证信息,通过验证后,该联系人的手机号码才能生效。

86-139****1234

Title

string

联系人的职位。

枚举值:

  • FinanceDirector :

    财务负责人

  • TechnicalDirector :

    技术负责人

  • MaintenanceDirector :

    运维负责人

  • CEO :

    CEO

  • ProjectDirector :

    项目负责人

  • Other :

    其它

TechnicalDirector

MessageTypes

array

联系人接收的消息分类。

string

联系人接收的消息分类。

枚举值:

  • ServiceMessage :

    服务消息

  • FaultMessage :

    故障消息

  • AccountExpenses :

    账号资金消息

  • SecurityMessage :

    安全消息

  • ActivityMessage :

    活动消息

  • ProductMessage :

    产品消息

AccountExpenses

返回参数

名称

类型

描述

示例值

object

返回结果。

RequestId

string

请求 ID。

9B34724D-54B0-4A51-B34D-4512372FE1BE

示例

正常返回示例

JSON格式

{
  "RequestId": "9B34724D-54B0-4A51-B34D-4512372FE1BE"
}

错误码

HTTP status code

错误码

错误信息

描述

400 InvalidParameter.Name The Name is invalid.
400 InvalidParameter.Name.Length The Name exceeds the length limit.
400 InvalidParameter.Name.AlreadyUsed The Name already exists. Please change to another name.
400 InvalidParameter.EmailAddress The EmailAddress is invalid.
400 InvalidParameter.PhoneNumber The PhoneNumber is invalid.
400 InvalidParameter.Title The Title is invalid.
400 InvalidParameter.MessageTypes The MessageTypes is invalid.
400 InvalidParameter.MobileCountryCode The current site does not support the country code.
400 InvalidParameter.ContactId The ContactId is invalid.
400 MissingParameter.ContactId You must specify ContactId.
400 InvalidParameter.EmailAddress.Length The EmailAddress exceeds the length limit.
400 ContactStatusMismatchAction The status of the contact does not allow the specified operation.
404 EntityNotExists.Contact This Contact does not exist.
429 ConcurrentCallNotSupported The operation conflicts with other operations. Please try again later.

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情