Register/Create User

Description

The user method is used to create or register a user.

URL https://publish.broadsign.com/api/user/
Method POST
Header Content-Type: application/json

Sample Request

Copy
{
  "first_name": "Peter",
  "last_name": "Parker",
  "email": "test@host.com",
  "password": "Abc123245"
 }

Sample Response

Status: 201 (CREATED)

Copy
{
  "id": 6,
  "email": "test@host.com",
  "first_name": "Peter",
  "last_name": "Parker",
  "is_network_operator": false,
  "is_admin": false,
  "is_active": true,
  "last_active": null,
  "last_login": null
}

Error Response Status code

Status: 400 (BAD REQUEST)