User resource

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"
}