---
title: "Team Member Update Route"
method: PUT
path: "/team_members/{id}"
---

# Team Member Update Route

`PUT /team_members/{id}`

## Request

- Base URL: `https://api.robopost.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.robopost.app/team_members/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- TeamMemberUpdate
  - `rights` TeamMemberRight[]
  - `post_to_channel_ids` string[]

## Response `200`

Successful Response

- TeamMemberRead
  - `_id` string
  - `user_id` string, required
  - `team_id` string, required
  - `user_role` 'ADMIN' | 'POSTER': An enumeration.
  - `rights` TeamMemberRight[]
  - `post_to_channel_ids` string[]
  - `ignore_credit_count` boolean
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `current_selected_team` object
  - `user` UserRead
    - `_id` string, required
    - `display_name` string, required
    - `email` string, email, required
    - `theme` 'LIGHT' | 'DARK': An enumeration.
    - `profile_pic_url` string, uri
    - `language` string
    - `country` string
    - `is_system_notifications_enabled` boolean
    - `accept_system_notifications_from` string
    - `accept_system_notifications_to` string
    - `timezone` string
    - `current_selected_team_id` string
    - `auth_provider` string, required
    - `is_deleted` boolean
    - `ui_theme` string
    - `discount_email_send` boolean
    - `ltd_email_send` boolean
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `last_login_at` string, date-time
    - `current_selected_team` object
    - `current_selected_team_member` object

## Other responses

- `404`: Not found
- `422`: Validation Error

---

[API](https://skmtc.dev/robopost/apis/robopost-api.md) · [All operations](https://skmtc.dev/robopost/apis/robopost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/robopost/apis/robopost-api/revisions/46b1cafa8808?raw)
