---
title: "A person turned off at the identity provider loses this workspace at once, their keys and waiting asks with it"
url: https://xovris.ai/docs/api/operations/patchscimv2usersbyid/
---

# A person turned off at the identity provider loses this workspace at once, their keys and waiting asks with it

`PATCH /v1/scim/v2/Users/{id}`

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

## Parameters

- `id` (string, path, required)

## Request body

### `application/json`

- `schemas` (any[])
- `Operations` (T8c6ec06afc57[])
- `active`

Example:

```json
{
  "schemas": [
    null
  ],
  "Operations": [
    {
      "op": "string",
      "path": "string",
      "value": null
    }
  ],
  "active": null
}
```

## Answers

- `200`: A SCIM 2.0 resource or list response (RFC 7644). (application/scim+json: Tbb2ddaf9447a | T4add9e431116)
- `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/{id} - put your own value in place of each part in braces.

```sh
curl --request PATCH \
  --url 'https://api.xovris.ai/v1/scim/v2/Users/{id}' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{"schemas":[null],"Operations":[{"op":"string","path":"string","value":null}],"active":null}'
```
