Synchronizing Customer Real-Name Authentication Information
Function
This API will become unavailable soon. To perform real-name authentication, see Requesting an Individual Real-Name Authentication, Requesting an Enterprise Real-Name Authentication, Requesting a Real-Name Authentication Change, and Querying the Real-Name Authentication Review Result.
After a customer performs real-name authentication on the partner sales platform, the real-name authentication information will be synchronized to HUAWEI CLOUD, and the customer already passes the real-name authentication on HUAWEI CLOUD.
Note:
- The real-name authentication data synchronized from the partner sales platform to HUAWEI CLOUD platform must be valid. Otherwise, the API will be forbidden to invoke.
- The real-name authentication information of a customer can be synchronized to HUAWEI CLOUD only after the customer's partner sales platform account is associated with its HUAWEI CLOUD account.
- This API can be invoked only by the partner AK/SK or token.
URI
PUT /v1.0/{partner_id}/partner/customer-mgr/verified-info
The following table describes the parameters.
Parameter |
Mandatory |
Value Range |
Description |
---|---|---|---|
partner_id |
Yes |
A maximum of 64 characters |
Partner ID (assigned by Huawei). For details about how to obtain the partner ID, see How Do I Check the Partner ID? |
Request
Request Parameters
Parameter |
Mandatory |
Type |
Value Range |
Description |
---|---|---|---|---|
xaccountType |
Yes |
String |
A maximum of 64 characters |
Platform ID assigned by Huawei to a partner. This value is assigned by Huawei. For details about how to obtain the platform ID, see How Do I Obtain the xaccountType Value? |
xaccountId |
Yes |
String |
A maximum of 64 characters |
Unique user ID on the partner sales platform. The ID is allocated by the partner. |
domainId |
Yes |
String |
A maximum of 64 characters |
Domain ID allocated to the customer by HUAWEI CLOUD carried in the notification message sent by HUAWEI CLOUD. |
verifiedType |
Yes |
Integer |
0 or 1 |
Third-party real-name authentication type. The options are as follows:
The value must be the same as that in the SAML assertion request sent during account synchronization. HUAWEI CLOUD will verify the value. |
verifiedStatus |
Yes |
Integer |
Fixed at 2 |
The value is fixed at 2. 2: The real name is authenticated. |
name |
Yes |
String |
A maximum of 256 characters |
Name to be authenticated.
The value cannot contain only special characters, digits, or spaces.
NOTICE:
Ensure that the name is real. |
identifyType |
Yes |
Integer |
[1-11] |
Credential type. The options are as follows:
The value of this parameter varies according to the value of verifiedType.
|
verifiedNumber |
Yes |
String |
A maximum of 32 characters |
Credential number.
|
Example Request
PUT https://bss-intl.myhuaweicloud.com/v1.0/{partner_id}/partner/customer-mgr/verified-info HTTP/1.1 Content-Type: application/json X-Auth-Token: MIIPAgYJKoZIhvcNAQcCo...ggg1BBIINPXsidG9rZ { "xaccountType":"xxx", "xaccountId":"xxxxxxxxxxx", "domainId":"e97ec022f3af448596765475941deb60", "verifiedType":"1", "verifiedStatus":"2", "name": "Huawei Cloud", "identifyType":"3", "verifiedNumber":"432100000001234" }
Response
Response Parameters
Parameter |
Type |
Value Range |
Description |
---|---|---|---|
error_code |
String |
16 characters |
Error code. For details, see Returned Values. |
error_msg |
String |
1024 characters |
Error description. |
Example Response
HTTP/1.1 200 OK Content-Type: application/json;charset=UTF-8 Content-Length: length Date: response time { "error_code": "CBC.0000", "error_msg": "success" }
Returned Values
- 4xx: This class of HTTP status code is intended for situations in which the error seems to have been caused by the client, for example, the request contains bad syntax or incorrect parameters. You must ensure the request is correct.
- 5xx: This class of HTTP status code is intended for cases in which the Huawei Cloud server is aware that it has encountered an error or is otherwise incapable of performing the request. In this case, contact Huawei Cloud customer service.
HTTP Status Code |
Error Code |
Description |
---|---|---|
200 |
CBC.0000 |
Success. |
400 |
CBC.0100 |
Invalid parameter. |
500 |
CBC.0999 |
Other errors. |
403 |
CBC.0151 |
Access denied. |
500 |
CBC.5002 |
The customer does not exist. |
200 |
CBC.5005 |
The customer is being authenticated by HUAWEI CLOUD. |
200 |
CBC.5006 |
The customer type (individual/enterprise) is different from the customer type stored in the system. |
500 |
CBC.5035 |
Sandbox accounts cannot access this interface. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot