| Time | Status | User Agent |  |
| :-- | :-- | :-- | :-- |
| Make a request to see history. |

#### URL Expired

The URL for this request expired after 30 days.

### PublicChangeUserStatusDto

**userId**  
string  
required  
`[^\/#!?]+?`

**status**  
string  
enum  
required  
ACTIVE, BLOCKED

Allowed:

`ACTIVE`  
`BLOCKED`

# ``200      Status changed successfully

# ``400      Invalid request parameters

# ``401      Invalid or missing API key

# ``500      Internal server error

### Example Request

```bash
curl --request POST \
     --url https://crm-public-api.app.carta.com/v1/organization/users/userId/status \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '{"status":"ACTIVE"}'
```

### API Response Codes

| Code  | Description  |
| :-- | :-- |
| `200` | Status changed successfully |
| `400` | Invalid request parameters |
| `401` | Invalid or missing API key |
| `500` | Internal server error |
