Add User

Last updated: 2019-09-19 15:33:29

This feature is currently in beta. If you want to try this feature in the console, submit a ticket to be whitelisted.

1. API Description

This API (AddUser) is used to add users to an instance.

API domain name: ckafka.api.qcloud.com

2. Input Parameters

The list below contains only the API request parameters. Other parameters can be found in Common Request Parameters.

Parameter Name Required Type Description
instanceId Yes String Instance ID
name Yes String Username must begin with a letter and can contain up to 64 letters, digits and underscores
password Yes String User password can contain letters, underscores and digits. Maximum length is 64 characters

3. Samples

Input:

 https://domain/v2/index.php?Action=AddUser
     &instanceId=ckafka-tadfqa0
     &name=user01
     &password=passwd01
     &<Common Request Parameters>

Output:

  {
      "code" : 0,
      "codeDesc":"Success",
      "message" : "ok"
  }