SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredential

Updated at:

Submits a domain name real-name verification task.

Operation description

You can query the task execution result by calling the QueryTaskDetailList operation. When you submit a real-name verification task, you must upload a Base64-encoded image of the real-name verification material. The original image must be in JPG or BMP format, and the size of the original image must be 55 KB to 1 MB.

Note

You must call this operation by using the POST method. Otherwise, the call fails. If you use an SDK to call this operation, set the method parameter of the request object to POST.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

domain:RealNameVerificationOperation

update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None

Request parameters

Parameter

Type

Required

Description

Example

UserClientIp

string

No

The IP address of the user.

127.0.0.1

Lang

string

No

The language of the error message returned by the operation. Valid values:

  • zh: Chinese.

  • en: English.

Default value: en.

en

IdentityCredential

string

Yes

The Base64-encoded image of the real-name verification material. The image must meet the following requirements:

  • The image is in JPG or BMP format.

  • The size of the original image is 55 KB to 1 MB.

base64Img

IdentityCredentialNo

string

Yes

The certificate number of the real-name verification material, such as the ID card number or Unified Social Credit Code.

000000000000000000

IdentityCredentialType

string

Yes

The type of the certificate used for real-name verification. Valid values:

  • SFZ: ID card.

  • HZ: Passport.

  • YYZZ: Business license.

  • ORG: Organization code certificate.

  • XYDM: Unified Social Credit Code certificate.

  • TXZ: Mainland Travel Permit for Hong Kong and Macao Residents.

If the certificate you use is not listed above, refer to the Certificate types supported for real-name verification section to view the value of the corresponding certificate type.

Note

Make sure that the selected certificate type matches the certificate you provide.

SFZ

DomainName

array

Yes

The list of domain names.

aliyun.com,alibabacloud.com

string

No

A domain name that requires real-name verification.

example.com

Response elements

Element

Type

Description

Example

object

RequestId

string

The unique request ID.

51D584A2-0CCD-4336-AD7D-1AD4C67B5545

TaskNo

string

The task ID.

f1382d65-bab3-48ae-b61f-6680cc3595bf

Examples

Success response

JSON format

{
  "RequestId": "51D584A2-0CCD-4336-AD7D-1AD4C67B5545",
  "TaskNo": "f1382d65-bab3-48ae-b61f-6680cc3595bf"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.