---
title: "POST /identity/oidc/client/{name}"
method: POST
path: "/identity/oidc/client/{name}"
tags: ["identity"]
---

# POST /identity/oidc/client/{name}

`POST /identity/oidc/client/{name}`

## Request body

- IdentityOidcClientRequest
  - `access_token_ttl` integer — The time-to-live for access tokens obtained by the client.
  - `assignments` string[] — Comma separated string or array of assignment resources.
  - `client_type` string — The client type based on its ability to maintain confidentiality of credentials. The following client types are supported: 'confidential', 'public'. Defaults to 'confidential'.
  - `id_token_ttl` integer — The time-to-live for ID tokens obtained by the client.
  - `key` string — A reference to a named key resource. Cannot be modified after creation. Defaults to the 'default' key.
  - `redirect_uris` string[] — Comma separated string or array of redirect URIs used by the client. One of these values must exactly match the redirect_uri parameter value used in each authentication request.

## Response `200`

OK

---

[API](https://skmtc.net/lensesio/apis/hashicorp-vault-api.md) · [All operations](https://skmtc.net/lensesio/apis/hashicorp-vault-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lensesio/hashicorp-vault-api/revisions/bd8194de0697/schema)
