---
title: "A person added at the identity provider, invited here with the role it names, within the workspace's own rules"
url: https://xovris.ai/docs/api/operations/postscimv2users/
---

# A person added at the identity provider, invited here with the role it names, within the workspace's own rules

`POST /v1/scim/v2/Users`

Needs a token that can read and change. A token without change access is refused with `token_read_only` and the step to take.

## Request body

### `application/json`

- `userName`
- `emails` (T599f7810d2ad[])
- `urn:ietf:params:scim:schemas:extension:xovris:2.0:User`

Example:

```json
{
  "userName": null,
  "emails": [
    {
      "value": null,
      "primary": null
    }
  ],
  "urn:ietf:params:scim:schemas:extension:xovris:2.0:User": null
}
```

## Answers

- `201`: A SCIM 2.0 resource or list response (RFC 7644). (application/scim+json: Tbb2ddaf9447a)
- `401`: Refused: SCIM 2.0's Error message (RFC 7644 s3.12) with what to do next, or the Problem where the sign-in layer refuses before SCIM. (application/scim+json: object; application/json: Problem)
- `403`: Refused: SCIM 2.0's Error message (RFC 7644 s3.12) with what to do next, or the Problem where the sign-in layer refuses before SCIM. (application/scim+json: object; application/json: Problem)
- `404`: Refused: SCIM 2.0's Error message (RFC 7644 s3.12) with what to do next, or the Problem where the sign-in layer refuses before SCIM. (application/scim+json: object; application/json: Problem)
- `default`: Refused: SCIM 2.0's Error message (RFC 7644 s3.12) with what to do next, or the Problem where the sign-in layer refuses before SCIM. (application/scim+json: object; application/json: Problem)

## A call

The address is https://api.xovris.ai/v1/scim/v2/Users - put your own value in place of each part in braces.

```sh
curl --request POST \
  --url 'https://api.xovris.ai/v1/scim/v2/Users' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{"userName":null,"emails":[{"value":null,"primary":null}],"urn:ietf:params:scim:schemas:extension:xovris:2.0:User":null}'
```
