---
title: "Update team member"
method: PUT
path: "/teams/{name}/members"
---

# Update team member

`PUT /teams/{name}/members`

## Path parameters

- `name` string, required — The name of the team

## Request body

- UpdateTeamMemberParams
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `email` string, required — The email address of the team member to update
  - `role` 'admin' | 'developer', nullable — The role to update the team member to

## Response `200`

OK

- UpdateTeamMemberResponse
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `team_member` TeamMembership, required
    - `role` 'admin' | 'developer', required
    - `team` Team, required
      - `execution_region` string, required
      - `name` string, required
      - `organization` string, required — The name of the organization this team belongs to.
      - `slug` string — This property is deprecated. Use name instead.
      - `token` Token
        - `access_token` string, required — The access token to use when authenticating API requests with Tower.
        - `jwt` string, required — This property is deprecated. Use access_token instead.
        - `refresh_token` string — The refresh token to use when refreshing an expired access token. For security reasons, refresh tokens should only be transmitted over secure channels and never logged or stored in plaintext. It will only be returned upon initial authentication or when explicitly refreshing the access token.
      - `type` string, required — The type of team, either 'personal' or 'team'.
    - `user` User, required
      - `company` string, required
      - `country` string, required
      - `created_at` string, date-time, required
      - `email` string, required
      - `first_name` string, required
      - `is_alerts_enabled` boolean, required
      - `is_confirmed` boolean, required
      - `is_invitation_claimed` boolean — This property is deprecated. It will be removed in a future version.
      - `is_subscribed_to_changelog` boolean, required
      - `last_name` string, required
      - `profile_photo_url` string, required
      - `promo_code` string, required

## Other responses

- `default` — Error

---

[API](https://skmtc.net/tower/apis/tower-api.md) · [All operations](https://skmtc.net/tower/apis/tower-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tower/tower-api/revisions/0e42b0fb26d9/schema)
