You need to enable JavaScript to run this app.
E-MapReduce

E-MapReduce

Copy page
Download PDF
User management
CheckUserCredentials - Validate cluster user
Copy page
Download PDF
CheckUserCredentials - Validate cluster user

Validate cluster user

Debug

request parameters

The following table lists only the unique request parameters for this API and some common parameters. For more information, see common parameters.

Parameter
Type
Required
Example value
Description
Action
String
Yes

CheckUserCredentials

The operation to be performed. Value: CheckUserCredentials.

Version
String
Yes

2023-08-15

API version. Value: 2023-08-15.

ClusterId
String
Yes

emr-xxx

Cluster ID

UserName
String
Yes

emr_user

User name

Password
String
Yes

Password123!

User password

response parameters

The following table lists only the unique response parameters for this API. For more information, see response structure.

Parameter
Type
Example value
Description
Result
String

null

Returned result

sample request

POST /?Action=CheckUserCredentials&Version=2023-08-15 HTTP/1.1 
Host: emr.cn-beijing.volcengineapi.com 
Content-Type: application/json; charset=UTF-8 
X-Date: 20240701T023743Z 
X-Content-Sha256: 287e874e******d653b44d21e 
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20240701/cn-beijing/emr/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f 

{ 
  "ClusterId": "emr-xxx", 
  "UserName": "emr_user", 
  "Password": "Password123!" 
}

sample response

{ 
  "ResponseMetadata": { 
    "RequestId": "202407011038091491480601674CBCDE", 
    "Action": "CheckUserCredentials", 
    "Version": "2023-08-15", 
    "Service": "emr", 
    "Region": "cn-beijing" 
  }, 
  "Result": null 
}

error codes

The following table lists the error codes related to the business logic of this API. For common error codes, see the common error codes documentation.

Status code
Error code
Error message
Note
400
InvalidClusterId
cluster id {clusterId} not found

Cluster does not exist

400
USER.InvalidUserOrPassword
The username and password do not match

Username and password do not match

Last updated: 2026.06.01 17:04:20