Create a user

Creates a new User object.

Path parameters

account_idstringRequired
The account for which the user should be created.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

User params
first_namestringRequired
The user's first name.
last_namestringOptional
The user's last name.
metadatamap from strings to stringsOptional

Set of key-value pairs that will be stored with the object.

photo_urlstringOptionalformat: "uri"
URL of a photo to be used as the user's avatar.

Response

User
first_namestring
The user's first name.
idstring or null
Unique identifier for the object.
last_namestring or null
The user's last name.
metadatamap from strings to strings or null

Set of key-value pairs that will be stored with the object.

photo_urlstring or nullformat: "uri"
URL of a photo to be used as the user's avatar.