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

#### URL Expired

The URL for this request expired after 30 days.

### userId

string

required

`[^\/#!\?]+?`

### PublicChangeUserRoleDto

#### role

string

enum

required

ADMIN, LEADERSHIP, DEAL_TEAM, PORTFOLIO, FINANCE, INVESTOR_RELATIONS, ADMIN_SUPPORT, OTHER

Show 8 enum values

# `200      Role changed successfully

# `400      Invalid request parameters

# `401      Invalid or missing API key

# `500      Internal server error

---

ShellNodeRubyPHPPython

```
xxxxxxxxxx

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

### Response Codes

* `200`  
* `400`  
* `401`  
* `500`

---
