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

E-MapReduce

Copy page
Download PDF
User management
DeleteClusterUser - Delete cluster user
Copy page
Download PDF
DeleteClusterUser - Delete cluster user

Delete cluster user

Debug

request parameters

The table below lists only the request parameters specific to this API and some common parameters. For more information, see common parameters.

Parameter
Type
Required
Example value
Description
Action
String
Yes

DeleteClusterUser

The operation to be performed. Value: DeleteClusterUser.

Version
String
Yes

2023-08-15

API version. Value: 2023-08-15.

ClusterId
String
Yes

emr-xxx

Cluster ID

UserName
String
Yes

emr_user

Cluster username

response parameters

The table below lists only the response parameters specific to this API. For more information, see response structure.

Parameter
Type
Example value
Description
Result
String

null

Delete user response

sample request

POST /?Action=DeleteClusterUser&Version=2023-08-15 HTTP/1.1 
Host: emr.cn-beijing.volcengineapi.com 
Content-Type: application/json; charset=UTF-8 
X-Date: 20240701T022750Z 
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" 
}

sample response

{ 
  "ResponseMetadata": { 
    "RequestId": "202407011027592290101220629ECCE6", 
    "Action": "DeleteClusterUser", 
    "Version": "2023-08-15", 
    "Service": "emr", 
    "Region": "cn-beijing" 
  }, 
  "Result": null 
}

error codes

The table below 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.UserNameNotExist
User {user} not exists

User does not exist

Last updated: 2026.06.01 17:04:20