Auth API

Create a new user.

Args: request: CreateUserRequest with user details created_by: Authenticated user making the request

Returns: Created User object

post/api/auth/user

Request

  • The document declares no server URL.
  • Auth: none declared

Headers

x-osmo-userstring nullable

Request body

idstring required
rolesstring[] nullable

Response

Successful Response

idstring required
created_atstring date-time nullable
created_bystring nullable

Changes

    • ○

      added the optional property // to the response with the status

    • ○

      added the optional property // to the response with the status

    • ▲

      response property created_at list-of-types was widened by adding types null to media type application/json of response 200

    • ▲

      response property created_by list-of-types was widened by adding types null to media type application/json of response 200

    • ○

      header request parameter x-osmo-user list-of-types was widened by adding types null

    • ○

      for the header request parameter x-osmo-user, the type was generalized from string to no type

    • ○

      request property list-of-types was widened by adding types null to media type application/json