---
raw: true
search:
  tags:
    - Teams
    - PATCH
seo:
  description: >-
    Updates team settings. The request can also set the system space that
    supplies team… Reference for the PATCH /v1/teams/{teamId} endpoint in the
    Spacefast API.
sidebar:
  label: Update a team
  badge: PATCH
title: Update a team
type: openapi-operation
---
Updates team settings. The request can also set the system space that supplies team defaults.

`PATCH /v1/teams/{teamId}`

**Request body** (`application/json`, required)

- `name` (string)
- `slug` (string)
- `logo` (string | null)
- `metadata` (string | null)
- `defaultDataLocation` (string) — Default placement region for new spaces; "auto" lets placement decide.
- `systemSpaceId` (string | null) — Set the team's system space. Use null to clear the current system space.
- `baseSystemSpaceId` (string | null) — The current system-space id that the caller expects. The update fails if this value is stale.

Request body example:

```json
{
  "name": "string",
  "slug": "string",
  "logo": "string",
  "metadata": "string",
  "defaultDataLocation": "string",
  "systemSpaceId": "string",
  "baseSystemSpaceId": "string"
}
```

**Responses**

- `200` — Response for status 200
- `default` — Problem details (RFC 9457). Any 4xx/5xx response is one \`application/problem+json\` document.

Response example, 200:

```json
{
  "$schema": "http://example.com",
  "data": {
    "id": "string",
    "name": "string",
    "slug": "string",
    "role": "owner",
    "roleVia": "direct",
    "parent": {
      "id": "string",
      "slug": "string",
      "name": "string"
    },
    "plan": "free",
    "partner": {
      "enabledAt": "2019-08-24T14:15:22Z"
    },
    "defaultDataLocation": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "logo": "string",
    "metadata": "string",
    "stripeCustomerId": "string",
    "systemSpaceId": "string",
    "manifestStatus": {
      "items": [
        {
          "key": "string",
          "state": "pending",
          "detail": "string",
          "since": "2019-08-24T14:15:22Z",
          "challenge": "string",
          "audience": "string"
        }
      ],
      "sourceVersionId": "string"
    },
    "presentation": {
      "name": "string",
      "logo": "string",
      "supportUrl": "string",
      "claimOrigin": "string",
      "accessHandoffOrigin": "string",
      "problemDocsBaseUrl": "string",
      "contacts": {
        "property1": "string",
        "property2": "string"
      }
    }
  }
}
```
