Creates a new user. An email is sent to the user with a temporary password and instructions on how to log in and set a new password.
Request: POST https://api-<BlueCat.edge.url>/v1/api/users
Authorization: Bearer authorization token
{
"email":"email address",
"name":"first/last name",
"role":"SYSADMIN | ADMIN | POLICYADMIN | ANALYST",
"status":"active | inactive"
}
Successful response
200 OK
Content-Type: application/JSON
{
"Location": "<URL containing user's ID>"
}
Successful response code:
- CREATED - The user was successfully created.
Possible error codes:
- INVALID REQUEST BODY
- INTERNAL SERVER ERROR
- UNAUTHORIZED - Missing or invalid token
- FORBIDDEN - You are not authorized to perform this action
- USER ALREADY EXISTS