---
title: "Updates an app client."
method: PUT
path: "/api/apps/{app}/clients/{id}"
tags: ["Apps"]
---

# Updates an app client.

`PUT /api/apps/{app}/clients/{id}`

Only the display name can be changed, create a new client if necessary.

## Path parameters

- `app` string, required
- `id` string, required

## Request body

- UpdateClientDto
  - `name` string, nullable — The new display name of the client.
  - `role` string, nullable — The role of the client.
  - `allowAnonymous` boolean, nullable — True to allow anonymous access without an access token for this client.
  - `apiCallsLimit` integer, nullable — The number of allowed api calls per month for this client.
  - `apiTrafficLimit` integer, nullable — The number of allowed api traffic bytes per month for this client.

## Response `200`

Client updated.

- ClientsDto
  - `_links` object, required — The links.
  - `items` ClientDto[], required — The clients.
    - `_links` object, required — The links.
    - `id` string, required — The client id.
    - `secret` string, required — The client secret.
    - `name` string, required — The client name.
    - `role` string, nullable — The role of the client.
    - `apiCallsLimit` integer, required — The number of allowed api calls per month for this client.
    - `apiTrafficLimit` integer, required — The number of allowed api traffic bytes per month for this client.
    - `allowAnonymous` boolean, required — True to allow anonymous access without an access token for this client.

## Other responses

- `400` — Client request not valid.
- `404` — Client or app 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)
