createUser


Description

Creates a new user

Example request

https://www.rundowncreator.com/channel4news/API.php
     ?APIKey=edharken
     &APIToken=HNe2ADG0nBTiC8Q8WiVfsxeG5ip51A
     &Action=createUser
     &Username=bricktamland
     &Password=ilovelamp
     &FirstName=Brick
     &LastName=Tamland
     &EmailAddress=brick@channel4news.com
     &Type=Viewer

Example response

{
    "UserID": 3
}

Required parameters

Username string the new user's username
Password string the new user's password
FirstName string the new user's first name
LastName string the new user's last name
EmailAddress string the new user's email address
Type string the new user's type. Possible values include Viewer, Writer, Producer, and Administrator

Optional parameters

None

Returns

UserID integer the new user's unique ID

Notes

Requires permissions of an administrator or higher.