User resource

User resource identify a person belonging to a customer. In other word, an employee. By this way the person can log on Nexway Center and/or get a JWT to call directly secured APIs.

When a user is created on the platform, he will receive an email which contains a url with a unique token to set is password.

Methods

  • post - Create a user
  • get - Get a user by id

Resource

{
    "createdAt": "date-time",
    "email": "string",
    "firstName": "string",
    "id": "string",
    "lastName": "string",
    "password": "string",
    "status": "string",
    "token": "string",
    "userName": "string"
}

Properties

Name Type Description Additional
createdAt date-time

User creation time

Optional, read only.
email string

User email

firstName string

User first name

id string

User id

Optional, read only.
lastName string

User last name

password string

password

status string

Possible values are:

  • ENABLED
  • DISABLED
Optional
token string

token used to reset the password

Optional, read only.
userName string

Username

Example

{
    "email": "test@gmail.com",
    "firstName": "john",
    "id": "a0253398-b0c5-4c2d-a15f-bd97ea4be608",
    "lastName": "Doe",
    "password": "XdefH!E",
    "token": "dzddz747d8za74d4za4dza4d4da",
    "userName": "jdoe"
}