Classes
Methods
# async create(apiUser) → {Promise.<ApiUser>}
Creates a new API user. Beware: API users will also be returned in the /users response when including archived users.
Parameters:
Name | Type | Description |
---|---|---|
apiUser |
ApiUsersCreateModel
|
The model to create an api user. |
Promise.<ApiUser>
# async delete(apiUserId) → {Promise.<void>}
Deletes the API user with the specified id.
Parameters:
Name | Type | Description |
---|---|---|
apiUserId |
String
|
The id of the API user. |
Promise.<void>
# async updated(apiUserId, apiUser) → {Promise.<ApiUser>}
Updates the API user with the specified id.
Parameters:
Name | Type | Description |
---|---|---|
apiUserId |
String
|
The id of the API user. |
apiUser |
ApiUsersUpdateModel
|
The model tp update an api user. |
Promise.<ApiUser>