---
updatedAt: 2026-11-10T14:10:08.000Z
agentTools:
  projectIndex: https://docs.followupboss.com/llms.txt
---

# /teams/:id

Update a team by id.

> 🚧 Updating Team Members
>
> You should always send the complete list of User IDs in the `userIds` and `leaderIds` fields if the field is present in your request.  To remove a user from the team, first make a GET request to [/teams/:id](teams-id-get) to get the current list of users, remove the id you wish to remove from the team, and then send the now changed full list of user ids back with a PUT request to this endpoint.
>
> Similarly, to make someone a leader of the team, or demote someone to a regular member of the team, first make a GET request to [/teams/:id](teams-id-get) to get the current list of leaders, make your changes, and send back the changed list with a PUT request to this endpoint.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api-settings",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.followupboss.com/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/teams/{id}": {
      "put": {
        "summary": "/teams/:id",
        "description": "Update a team by id.",
        "operationId": "teams-id-put",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The team id.",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "The team name."
                  },
                  "userIds": {
                    "type": "array",
                    "description": "The complete list of members of this team.",
                    "items": {
                      "type": "integer",
                      "format": "int32"
                    }
                  },
                  "leaderIds": {
                    "type": "array",
                    "description": "The complete list of team leaders.",
                    "items": {
                      "type": "integer",
                      "format": "int32"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"name\": \"Miami Team\",\n  \"userIds\": [\n    18,\n    23,\n    281,\n    301\n  ],\n  \"leaderIds\": [23 ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "example": "Miami Team"
                    },
                    "userIds": {
                      "type": "array",
                      "items": {
                        "type": "integer",
                        "example": 18,
                        "default": 0
                      }
                    },
                    "leaderIds": {
                      "type": "array",
                      "items": {
                        "type": "integer",
                        "example": 23,
                        "default": 0
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```