## Update

**put** `/teams/{teamId}/members/{memberId}`

Update a team member's role and/or consumption limit

### Path Parameters

- `teamId: string`

- `memberId: string`

### Body Parameters

- `maxConsumption: optional number`

  Max consumption (CU) for this member over the billing period, overriding
  the team-wide default. Use a value `>= 0` to cap, `-1` for unlimited
  (uncapped), or `null` to remove the override and fall back to the team-wide
  default.

- `role: optional string`

  For a human member: a built-in team role (`admin` | `member`).
  For an API-key member: a team-plane role — a `;`-separated list of `team.*`
  scopes (e.g. `"team.members.manage;team.usage.read"`). Only a human team
  admin can grant a write scope; `team.members.manage` also lets a team key
  manage the members, API keys and consumption cap of every project of the
  team.

### Example

```http
curl https://api.cloud.scenario.com/v1/teams/$TEAM_ID/members/$MEMBER_ID \
    -X PUT \
    -H 'Content-Type: application/json' \
    -u "$SCENARIO_SDK_API_KEY:SCENARIO_SDK_API_SECRET" \
    -d '{}'
```

#### Response

```json
{}
```
