---
title: "POST /enterprise/{organizationId}/authentication"
method: POST
path: "/enterprise/{organizationId}/authentication"
tags: ["enterprise", "authentication"]
---

# POST /enterprise/{organizationId}/authentication

`POST /enterprise/{organizationId}/authentication`

Create a authentication

## Path parameters

- `resourceId` string, required

## Request body

- union
  - object
    - `type` 'feishu', required
    - `config` object, required
      - `appId` string, required
      - `appSecret` string, required
    - `id` string
    - `name` string, required
  - object
    - `type` 'oidc', required
    - `config` object, required
      - `clientId` string, required
      - `clientSecret` string, required
      - `authorizationUrl` string, uri, required
      - `tokenUrl` string, uri, required
      - `userInfoUrl` string, uri, required
      - `issuer` string, uri, required
    - `id` string
    - `name` string, required

## Response `201`

Successful created

- union
  - object
    - `type` 'feishu', required
    - `config` object, required
      - `appId` string, required
      - `appSecret` string, required
    - `id` string, required
    - `name` string, required
  - object
    - `type` 'oidc', required
    - `config` object, required
      - `clientId` string, required
      - `clientSecret` string, required
      - `authorizationUrl` string, uri, required
      - `tokenUrl` string, uri, required
      - `userInfoUrl` string, uri, required
      - `issuer` string, uri, required
    - `id` string, required
    - `name` string, required

---

[API](https://skmtc.net/teable/apis/teable-app.md) · [All operations](https://skmtc.net/teable/apis/teable-app/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/teable/teable-app/versions/7515f3b33d79/schema)
