/v1/api/users (POST) - BlueCat DNS Edge

DNS Edge User Guide

prodname
BlueCat DNS Edge

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-<DNS.Edge.URL>/v1/api/users
Authorization: Bearer authorization token

 {
    "email":"email address",
    "name":"first/last name",
    "role":"SYSADMIN | ADMIN | 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
  • FORBIDDEN
  • USER ALREADY EXISTS
  • UNAUTHORIZED