---
title: "POST /ver2/ScimIdentityService.svc/scim/v1/Users"
method: POST
path: "/ver2/ScimIdentityService.svc/scim/v1/Users"
tags: ["ScimIdentity"]
---

# POST /ver2/ScimIdentityService.svc/scim/v1/Users

`POST /ver2/ScimIdentityService.svc/scim/v1/Users`

## Request

- Base URL: `https://api.enviance.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.enviance.com/ver2/ScimIdentityService.svc/scim/v1/Users`
- Auth: none declared
- TypeScript: <https://skmtc.dev/enviance/apis/restapi/docs/ver2/ScimIdentityService.svc/scim/v1/Users/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a new user in Enviance system.

** SDK API:**  envianceSdk.scim.createUser(user, onsuccess, onerror)

** Example:**
POST /ScimIdentityService.svc/scim/v1/Users HTTP/1.1
Content-Type: application/json; charset=UTF-8
null


envianceSdk.scim.createUser
```
[
  {
    "schemas": [
      "urn:scim:schemas:core:1.0",
      "urn:scim:schemas:enviance:user"
    ],
    "userName": "scimupdatetest998990444",
    "password": "1111",
    "name": {
      "givenName": "Updated",
      "familyName": "Scim"
    },
    "emails": [
      {
        "type": "work",
        "primary": "true",
        "value": "scimuser1@enviance.com"
      }
    ],
    "timezone": "America/New_York",
    "preferredLanguage": "en_US",
    "active": true,
    "urn:scim:schemas:enviance:user": {
      "properties": [
        {
          "propertyName": "supervisorusername",
          "type": "supervisorusername",
          "propertyValue": "someUsername"
        },
        {
          "propertyName": "name2",
          "propertyValue": "val2",
          "type": "name2",
          "isSensitiveData": true
        }
      ],
      "emailDelivery": "HTML Email",
      "receiveInformation": true,
      "commandFailureNotification": "Inbox",
      "companyName": "Enviance, Inc",
      "mustChangePasswordAtNextLogin": "false",
      "canNotChangePassword": "true",
      "NotExpirePassword": "false",
      "userRights": [
        {
          "name": "Manage Groups",
          "granted": true
        }
      ],
      "expires": "9999-12-31T00:00:00",
      "comments": "This is a full Scim User"
    }
  },
  "onsuccess",
  "onerror"
]
```

## Headers

- `EnvApi-Systemid` string
- `EnvApi-Packageid` string
- `EnvApi-Udf-DateTime-Iso-In-CustomFields` string
- `EnvApi-Udf-DateTime-ReadInUserTz` string
- `EnvApi-Udf-Value-Invariant` string
- `EnvApi-Localization-All` string
- `x-client-request-id` string

## Request body

- EnvianceRestServicesVer2ScimScimResourcesUsersScimUser
  - `userName` string
  - `timezone` string
  - `groups` EnvianceRestServicesVer2ScimScimResourcesUsersReadOnlyGroup[]
    - `value` string, guid
    - `display` string
  - `password` string
  - `userType` 'HomeUser' | 'AccessUser', enum
  - `active` boolean
  - `addresses` EnvianceRestServicesVer2ScimScimResourcesUsersAddress[]
    - `country` string
    - `formatted` string
    - `locality` string
    - `postalCode` string
    - `primary` boolean
    - `region` string
    - `streetAddress` string
    - `type` string
    - `Home` string
    - `Other` string
    - `Work` string
  - `displayName` string
  - `emails` EnvianceRestServicesVer2ScimScimResourcesUsersElectronicMailAddress[]
    - `primary` boolean
    - `value` string
    - `type` string
    - `Home` string
    - `Other` string
    - `Work` string
  - `name` EnvianceRestServicesVer2ScimScimResourcesUsersName
    - `formatted` string
    - `familyName` string
    - `givenName` string
  - `phoneNumbers` EnvianceRestServicesVer2ScimScimResourcesUsersPhoneNumber[]
    - `value` string
    - `type` string
    - `Fax` string
    - `Home` string
    - `Mobile` string
    - `Other` string
    - `Pager` string
    - `Work` string
  - `preferredLanguage` string
  - `title` string
  - `urn:scim:schemas:enviance:user` EnvianceRestServicesVer2ScimScimResourcesUsersEnvianceScimUserExtention
    - `userRights` EnvianceRestServicesVer2ScimScimResourcesNameGrantedDto[]
      - `name` string
      - `granted` boolean
    - `expires` string, date-time
    - `emailDelivery` string
    - `receiveInformation` boolean
    - `commandFailureNotification` string
    - `reportCompletionNotification` string
    - `companyName` string
    - `mustChangePasswordAtNextLogin` boolean
    - `canNotChangePassword` boolean
    - `notExpirePassword` boolean
    - `comments` string
    - `properties` EnvianceRestServicesVer2ScimScimResourcesUsersProperty[]
      - `propertyName` string
      - `propertyValue` string
      - `isSensitiveData` boolean
      - `type` string
  - `id` string
  - `externalId` string
  - `meta` EnvianceRestServicesVer2ScimScimResourcesMetaData
    - `created` string, date-time
    - `lastModified` string
    - `location` string
    - `version` string
    - `attributes` string[]

## Response `default`

not available

- EnvianceRestServicesVer2ScimScimResourcesUsersScimUser
  - `userName` string
  - `timezone` string
  - `groups` EnvianceRestServicesVer2ScimScimResourcesUsersReadOnlyGroup[]
    - `value` string, guid
    - `display` string
  - `password` string
  - `userType` 'HomeUser' | 'AccessUser', enum
  - `active` boolean
  - `addresses` EnvianceRestServicesVer2ScimScimResourcesUsersAddress[]
    - `country` string
    - `formatted` string
    - `locality` string
    - `postalCode` string
    - `primary` boolean
    - `region` string
    - `streetAddress` string
    - `type` string
    - `Home` string
    - `Other` string
    - `Work` string
  - `displayName` string
  - `emails` EnvianceRestServicesVer2ScimScimResourcesUsersElectronicMailAddress[]
    - `primary` boolean
    - `value` string
    - `type` string
    - `Home` string
    - `Other` string
    - `Work` string
  - `name` EnvianceRestServicesVer2ScimScimResourcesUsersName
    - `formatted` string
    - `familyName` string
    - `givenName` string
  - `phoneNumbers` EnvianceRestServicesVer2ScimScimResourcesUsersPhoneNumber[]
    - `value` string
    - `type` string
    - `Fax` string
    - `Home` string
    - `Mobile` string
    - `Other` string
    - `Pager` string
    - `Work` string
  - `preferredLanguage` string
  - `title` string
  - `urn:scim:schemas:enviance:user` EnvianceRestServicesVer2ScimScimResourcesUsersEnvianceScimUserExtention
    - `userRights` EnvianceRestServicesVer2ScimScimResourcesNameGrantedDto[]
      - `name` string
      - `granted` boolean
    - `expires` string, date-time
    - `emailDelivery` string
    - `receiveInformation` boolean
    - `commandFailureNotification` string
    - `reportCompletionNotification` string
    - `companyName` string
    - `mustChangePasswordAtNextLogin` boolean
    - `canNotChangePassword` boolean
    - `notExpirePassword` boolean
    - `comments` string
    - `properties` EnvianceRestServicesVer2ScimScimResourcesUsersProperty[]
      - `propertyName` string
      - `propertyValue` string
      - `isSensitiveData` boolean
      - `type` string
  - `id` string
  - `externalId` string
  - `meta` EnvianceRestServicesVer2ScimScimResourcesMetaData
    - `created` string, date-time
    - `lastModified` string
    - `location` string
    - `version` string
    - `attributes` string[]

---

[API](https://skmtc.dev/enviance/apis/restapi.md) - [All operations](https://skmtc.dev/enviance/apis/restapi/llms.txt) - [OpenAPI document](https://skmtc.dev/enviance/apis/restapi/revisions/45b2200a8cf2?raw)
