---
title: "Update the team auth."
method: PUT
path: "/api/teams/{team}/auth"
tags: ["Teams"]
---

# Update the team auth.

`PUT /api/teams/{team}/auth`

## Path parameters

- `team` string, required

## Request body

- AuthSchemeValueDto
  - `scheme` AuthSchemeDto
    - `domain` string, required — The domain name of your user accounts.
    - `displayName` string, required — The display name for buttons.
    - `clientId` string, required — The client ID.
    - `clientSecret` string, required — The client secret.
    - `authority` string, required — The authority URL.
    - `signoutRedirectUrl` string, nullable — The URL to redirect after a signout.

## Response `200`

Team updated.

- AuthSchemeResponseDto
  - `_links` object, required — The links.
  - `scheme` AuthSchemeDto
    - `domain` string, required — The domain name of your user accounts.
    - `displayName` string, required — The display name for buttons.
    - `clientId` string, required — The client ID.
    - `clientSecret` string, required — The client secret.
    - `authority` string, required — The authority URL.
    - `signoutRedirectUrl` string, nullable — The URL to redirect after a signout.

## Other responses

- `400` — Team request not valid.
- `404` — Team not found.
- `500` — Operation failed.

---

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