POST
/
api
/
v1
/
users
/
{
  "email": "jsmith@example.com",
  "username": "<string>",
  "id": 123,
  "auth_id": "<string>",
  "is_active": true,
  "is_verified": true,
  "last_login": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "full_name": "<string>",
  "bio": "<string>",
  "avatar_url": "<string>",
  "roles": []
}

Create a new user in the system.

  • Method: POST
  • Path: /api/v1/users/

Request Body

Refer to the UserCreate schema in the OpenAPI playground.

Response

Returns a User object on success.

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.