# Creates a client

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

Endpoint: POST /v1/clients
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

## Request body:

  - `application/json` (unknown)
    The client creation request.

## Request fields (application/json):

  - `name` (string, required)
    The display name of the client.
    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 201:

  - `201` (unknown)
    Created

## 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

