User
API for users
Sign-in User
POST
https://api.appmixer.com/user/auth
Sign-in a user with credentials and get their access token.
curl -XPOST "https://api.appmixer.com/user/auth" -H "Content-type: application/json" -d '{ "username": "abc@example.com", "password": "abc321" }'
Request Body
Name | Type | Description |
---|---|---|
password* | string | Password. |
username* | string | Username, has to have an email format. |
Create User
POST
https://api.appmixer.com/user
Create user.
curl -XPOST "https://api.appmixer.com/user" -H "Content-type: application/json" -d '{ "username": "abc@example.com", "email": "abc@example.com", "password": "abc321" }'
Request Body
Name | Type | Description |
---|---|---|
password* | string | Password. |
string | Email address. | |
username | string | Email address. |
Get User Information
GET
https://api.appmixer.com/user
Get user information.
curl "https://api.appmixer.com/user" -H "Authorization: Bearer [ACCESS_TOKEN]"
Get all users
GET
https://api.appmixer.com/users
Admin token required.
Examples:
Get the first 30 users with a scope "acme1":
curl -XGET "https://api.appmixer.com/users?filter=scope:acme1&sort=created:-1&limit=30&offset=0" -H 'Authorization: Bearer [ADMIN_TOKEN]'
Get all users who's username includes a pattern:
curl -XGET "https://api.appmixer.com/users?pattern=joe" -H 'Authorization: Beader [ADMIN_TOKEN]'
Get number of users
GET
https://api.appmixer.com/users/count
Admin token required
Update user
PUT
https://api.appmixer.com/users/:userId
Admin token required.
Request Body
Name | Type | Description |
---|---|---|
username | String | Username |
String | ||
password | String | Password |
scope | Array | Array of scopes. |
allowedPrivateComponents | Array | Array of component types. |
vendor | String|Array | One or more vendors. |
Delete user
DELETE
https://api.appmixer.com/users/:userId
Admin token required. This operation stops all running flows and deletes all the user's data from the system - logs, accounts, tokens ... The response is a ticket, the operation may take a long time. You can use the ticket and poll for the result with the next API method.
GET
https://api.appmixer.com/users/:userId/delete-status/:ticket
Change user password
POST
https://api.appmixer.com/user/change-password
User token required.
Request Body
Name | Type | Description |
---|---|---|
oldPassword* | String | Old password |
newPassword* | String | New password |
Reset user password
POST
https://api.appmixer.com/user/reset-password
Admin token required.
Request Body
Name | Type | Description |
---|---|---|
email* | String | User email address |
* | String | New password |
Forgot Password
POST
https://api.appmixer.com/user/forgot-password
See the Forgot Password Service configuration for more details.
Request Body
Name | Type | Description |
---|---|---|
email* | String | Email address |
Reset forgotten password
POST
https://api.appmixer.com/user/forgot-password/reset
Reset user password by providing unique code generated via POST /user/forgot-password
API.
Request Body
Name | Type | Description |
---|---|---|
password* | String | New password. The minimum length of the password is five characters. |
code* | String | Code generated via forgot-password. |
Last updated