users

Create a new user

Changed on

Create a new user in the system

post/api/v1/users

Request

  • The document declares no server URL.
  • Auth
    • API key in header X-API-Key
    • or API key in header Authorization

Request body

namestring required
oauth_providerstring
oauth_provider_dataobject
oauth_provider_idstring
passwordstring
profile_picturestring
role_namesstring[] required
usernamestring required

Response

OK

activeboolean
created_atstring
idstring
must_change_passwordboolean
namestring
preferencesobject
profile_picturestring
sessions_invalidated_atstring

Tokens issued before this moment are rejected at validation, so setting it to now signs the user out of every session at once.

updated_atstring
usernamestring

Changes

    • info

      the endpoint scheme security ApiKeyAuth was added to the API

    • info

      the endpoint scheme security BearerAuth was added to the API