---
title: "POST /create-oidc-app"
method: POST
path: "/create-oidc-app"
tags: ["v2"]
---

# POST /create-oidc-app

`POST /create-oidc-app`

## Request body

- CreateOidcApp
  - `accessibility` string — for personal password manager
  - `audience` string — A comma separated list of allowed audiences
  - `delete_protection` string — Protection from accidental deletion of this object [true/false]
  - `description` string — Description of the object
  - `item-custom-fields` object — Additional custom fields to associate with the item
  - `json` boolean — Set output format to JSON
  - `key` string — The name of a key that used to encrypt the OIDC application (if empty, the account default protectionKey key will be used)
  - `metadata` string — Deprecated - use description
  - `name` string, required — OIDC application name
  - `permission-assignment` string — A json string defining the access permission assignment for this app
  - `public` boolean — Set to true if the app is public (cannot keep secrets)
  - `redirect-uris` string — A comma separated list of allowed redirect uris
  - `scopes` string — A comma separated list of allowed scopes
  - `tags` string[] — Add tags attached to this object
  - `token` string — Authentication token (see `/auth` and `/configure`)
  - `uid-token` string — The universal identity token, Required only for universal_identity authentication

## Response `200`

createOidcAppResponse wraps response body.

- CreateOidcAppOutput
  - `client_id` string
  - `client_secret` string
  - `name` string

## Other responses

- `default` — errorResponse wraps any error to return it as a JSON object with one "error" field.

---

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