NewUser

The object that is returned when a new user is created containing the user and authentication token.

The following is the list of all members included in the data model.

Member Description Type Format / Schema Default Value Identifier Unique Required
token The token that future requests can be made with to authenticate the user. string JWT "" false false true
user The user that was successfully registered with the service. object undefined false false true

Examples

Request

{
    "token": "string"
}

Response

{
    "token": "string"
}

Members

token

Type: string

Default Value: ""

Required: true

The token that future requests can be made with to authenticate the user.

user

Type: object

Default Value: undefined

Required: true

The user that was successfully registered with the service.

References

This data model is referenced in the following endpoints.

// TODO