---
title: "Update Team"
method: PUT
path: "/api/v1/org/{orgId}/team/{teamId}"
tags: ["Organization Teams"]
---

# Update Team

`PUT /api/v1/org/{orgId}/team/{teamId}`

## Update Team
Update this organization team info.

Request to update an existing StackHawk Team.

| Parameter | Default | Description |
|:---:|:---:|:---:|
|teamId|""|The UUID identifier of this tea,.|
|name|""|updated name for this team.|
|applicationIds|[]|updated applicationIds for this team.|
|userIds|[]|updated member ids for this team.|
|organizationId|""|The UUID identifier of this organization.|

> 🧾 Audited
> This is recorded as `TEAM_UPDATED` [User Activity](https://apidocs.stackhawk.com/reference/listauditactivity#user-activity-types).


> Requires `write:team` permission.

## Path parameters

- `orgId` string, uuid, required
- `teamId` string, uuid, required

## Request body

- OrganizationUpdateTeamRequest — Request to update an existing StackHawk Team.
  - `applicationIds` string[] — updated applicationIds for this team.
  - `name` string, required — updated name for this team.
  - `organizationId` string — The UUID identifier of this organization.
  - `teamId` string — The UUID identifier of this tea,.
  - `userIds` string[] — updated member ids for this team.

## Response `200`

OK

- OrganizationUpdateTeamResponse
  - `team` OrganizationTeam — Teams group together StackHawk users and applications within a single Organization. StackHawk Teams help enforce permissions and organization around ownership. See [Teams](https://docs.stackhawk.com/web-app/teams.html).
    - `applications` OrganizationTeamApplication[] — The applications that belong to this Team.
      - `applicationId` string
      - `applicationName` string
      - `environments` string[]
      - `lastScanTimestamp` integer
    - `id` string — The UUID identifier of this team.
    - `name` string — The name of this team.
    - `organizationId` string — The StackHawk organization that owns this Team.
    - `users` OrganizationTeamUser[] — The users that are members of this Team.
      - `email` string
      - `role` string
      - `userId` string
      - `userName` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.dev/stackhawk/apis/stackhawk-public-api.md) · [All operations](https://skmtc.dev/stackhawk/apis/stackhawk-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stackhawk/stackhawk-public-api/revisions/8252990ac9eb/schema)
