Users
For conceptual information about user and role management, refer to the User Management Concepts guide. For complete technical specifications, see the Users REST API documentation.
Create user
To create a new user, send a POST request to the /api/users endpoint.
POST https://{YOUR-TENANT-NAME}.api.fulfillmenttools.com/api/users
{
"firstname": "Donna",
"lastname": "Sheridan-Carmichael",
"username": "dsheridan",
"password": "fsdf6556",
"roles": [
{
"name": "FULFILLER",
"facilities": [
"0AMSoRCbm7kSM3LJPoeH"
]
}
]
}A successful request returns a 201 Created response with the newly created user object.
Modify user
To modify an existing user, for example to assign a new role, send a PATCH request to the user's endpoint with a ModifyUser action.
A successful request returns a 200 OK response with the updated user object.
Delete user
When a user is deleted, all currently active JSON Web Tokens (JWTs) for that user are invalidated.
Last updated