Administration/Users

Create a user with any role (admin only)

Changed on
post/api/admin/users

Request

  • Base URL
    https://api.retraced.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.retraced.com/api/admin/users
  • Auth
    none declared

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

    • breaking

      removed the required property from the response with the status

    • breaking

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

    • breaking

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

    • breaking

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

    • breaking

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

    • breaking

      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

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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