Administration/Users

Create a user with any role (admin only)

post/api/admin/users

Request body

emailstring email nullable
companyIdstring nullable
rolestring required
firstNamestring required
lastNamestring nullable

Response

Default Response

idstring required
firstNamestring nullable required
lastNamestring nullable required
emailstring nullable required
primaryCompanyIdstring nullable required
langIdstring nullable required
isBlockedboolean nullable required
developmentTagstring nullable required
intercomHashstring nullable required
emailSha256string nullable required
avatarFileUrlstring nullable required
originalAvatarFileUrlstring nullable required

Changes

Changed in 3 of the 49 revisions of this API.1816

    • ▲

      removed the required property from the response with the status

      response-required-property-removed

  • 97e51f27dc771715See the full diff
    • ▲

      request property list-of-types was narrowed by removing types null from media type application/json

      request-property-list-of-types-narrowed

    • ▲

      request property list-of-types was narrowed by removing types null from media type application/json

      request-property-list-of-types-narrowed

    • ▲

      request property list-of-types was narrowed by removing types null from media type application/json

      request-property-list-of-types-narrowed

    • ▲

      the request property's minLength was increased from 0 to 1

      request-property-min-length-increased

    • ▲

      added the pattern ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$ to the request property

      request-property-pattern-added

    • ▲

      the response property became nullable for the status

      response-property-became-nullable

    • ▲

      the response property became nullable for the status

      response-property-became-nullable

    • ▲

      the response property became nullable for the status

      response-property-became-nullable

    • ▲

      the response property became nullable for the status

      response-property-became-nullable

    • ▲

      the response property became nullable for the status

      response-property-became-nullable

    • ▲

      the response property became nullable for the status

      response-property-became-nullable

    • ▲

      the response property became nullable for the status

      response-property-became-nullable

    • ▲

      the response property became nullable for the status

      response-property-became-nullable

    • ▲

      the response property became nullable for the status

      response-property-became-nullable

    • ▲

      the response property became nullable for the status

      response-property-became-nullable

    • ▲

      the response property became nullable for the status

      response-property-became-nullable

    • ▲

      the response property became nullable for the status

      response-property-became-nullable

    • ○

      the request property became nullable

      request-property-became-nullable

    • ○

      the request property became nullable

      request-property-became-nullable

    • ○

      the request property became nullable

      request-property-became-nullable

    • ○

      response property avatarFileUrl list-of-types was narrowed by removing types null from media type application/json of response 201

      response-property-list-of-types-narrowed

    • ○

      response property developmentTag list-of-types was narrowed by removing types null from media type application/json of response 201

      response-property-list-of-types-narrowed

    • ○

      response property email list-of-types was narrowed by removing types null from media type application/json of response 201

      response-property-list-of-types-narrowed

    • ○

      response property emailSha256 list-of-types was narrowed by removing types null from media type application/json of response 201

      response-property-list-of-types-narrowed

    • ○

      response property firstName list-of-types was narrowed by removing types null from media type application/json of response 201

      response-property-list-of-types-narrowed

    • ○

      response property intercomHash list-of-types was narrowed by removing types null from media type application/json of response 201

      response-property-list-of-types-narrowed

    • ○

      response property isBlocked list-of-types was narrowed by removing types null from media type application/json of response 201

      response-property-list-of-types-narrowed

    • ○

      response property langId list-of-types was narrowed by removing types null from media type application/json of response 201

      response-property-list-of-types-narrowed

    • ○

      response property lastName list-of-types was narrowed by removing types null from media type application/json of response 201

      response-property-list-of-types-narrowed

    • ○

      response property originalAvatarFileUrl list-of-types was narrowed by removing types null from media type application/json of response 201

      response-property-list-of-types-narrowed

    • ○

      response property primaryCompanyId list-of-types was narrowed by removing types null from media type application/json of response 201

      response-property-list-of-types-narrowed

    • ○

      response property primaryRole list-of-types was narrowed by removing types null from media type application/json of response 201

      response-property-list-of-types-narrowed

    • ○

      endpoint added

      endpoint-added

Of the 49 revisions, 1 has no diff computed.