Register a new user
POST/v1/user/register
Creates a new user with a unique user id. A user must be registered before a rental can be started.
Note: there are no uniqueness constraints on any field, so idempotency is not guaranteed — two identical register requests create two separate users with different ids.
Request
Responses
- 200
- 400
- 401
- 404
- 500
Successfully return the new user data together with the internal ID
Bad request
Unauthorized
Not found
Internal server error