Skip to content

Commit

Permalink
Merge pull request #2137 from aleksandrychev/ENT-4797
Browse files Browse the repository at this point in the history
ENT-4797 Add parameters to User API create/update sections
  • Loading branch information
nickanderson committed Jun 24, 2019
2 parents 11368b5 + 6e1847f commit 55da7bb
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions reference/enterprise-api-ref/users-rbac.markdown
Expand Up @@ -130,6 +130,17 @@ API call allowed only for administrator.

**Method:** PUT

**Parameters:**

* **username** *(string)*
User name
* **password** *(string)*
User password
* **email** *(string)*
User email
* **roles** *(array)*
User roles, emp: `["admin", "test"]`

Create a new user.
API call allowed only for administrator.

Expand All @@ -155,6 +166,17 @@ API call allowed only for administrator.
Update user information.
API call allowed only for administrator.

**Parameters:**

* **username** *(string)*
User name
* **password** *(string)*
User password
* **email** *(string)*
User email
* **roles** *(array)*
User roles, emp: `["admin", "test"]`

**Example Request Body:**

```
Expand Down

0 comments on commit 55da7bb

Please sign in to comment.