# Updates a client

**Required IAM actions** (all required, on scope `/`): `tenant.subjects.manage`

Endpoint: PUT /v1/clients/{clientId}
Version: 1
Security: authorization_code_with_pkce, client_credentials

## Security:

  - `authorization_code_with_pkce` (unknown)
    oauth2 scopes: services.iam

  - `client_credentials` (unknown)
    oauth2 scopes: services.iam

## Path parameters:

  - `clientId` (string, required)
    The client ID of the client to update.

## Request body:

  - `application/json` (unknown)
    The update request body.

## Request fields (application/json):

  - `name` (string, required)
    The updated display name of the client application.
    Example: My Application

  - `description` (string, required)
    Client description

  - `allowedGrantTypes` (array, required)
    Allowed grant types. I.e. "authorization_code", "client_credentials", "password", etc.

  - `redirectUris` (array, required)
    Allowed redirect uris

  - `allowedScopes` (array, required)
    Scopes that can be requested for this client

## Response 200:

  - `200` (unknown)
    OK

## Response 400:

  - `400` (unknown)
    Bad Request

## Response 400 fields (application/json):

  - `type` (string)

  - `title` (string)

  - `status` (integer)

  - `detail` (string)

  - `instance` (string)

  - `errors` (object, required)

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 404:

  - `404` (unknown)
    Not Found

## Response 404 fields (application/json):

  - `type` (string)

  - `title` (string)

  - `status` (integer)

  - `detail` (string)

  - `instance` (string)

  - `errors` (object, required)

