---
title: "POST /api/v1.0/{appId}/oauthclients/{oauthAppId}"
method: POST
path: "/api/v1.0/{appId}/oauthclients/{oauthAppId}"
tags: ["OAuthClients"]
---

# POST /api/v1.0/{appId}/oauthclients/{oauthAppId}

`POST /api/v1.0/{appId}/oauthclients/{oauthAppId}`

## Request

- Base URL: `https://api.flipdish.co`
- URL: `https://api.flipdish.co/api/v1.0/{appId}/oauthclients/{oauthAppId}`
- Auth: OAuth 2 (implicit, authorization URL `https://api.flipdish.co/identity/connect/authorize`, scopes: `api`)

## Path parameters

- `oauthAppId` string, required
- `appId` string, required

## Request body

- OAuthApp: Oauth client (also knowns as 'app')
  - `OauthAppId` string: OAuth App Identifier
  - `OauthAppName` string: OAuth App Name
  - `OwnerUserId` integer: OAuth App owner user identifier
  - `LogoUri` string: OAuth App logo uri
  - `Flow` 'AuthorizationCode' | 'Implicit' | 'Hybrid' | 'ClientCredentials', nullable: Supported OpenID Connect flows
  - `RefreshTokenUsage` 'ReUse' | 'OneTimeOnly', nullable: ReUse: the refresh token handle will stay the same when refreshing tokens OneTime: the refresh token handle will be updated when refreshing tokens
  - `AccessTokenLifetime` integer, nullable: Timem it takes for the IdentityToken to expire in seconds
  - `AbsoluteRefreshTokenLifetime` integer, nullable: Maximum lifetime of a refresh token in seconds

## Response `200`

OK

## Other responses

- `400`: BadRequest
- `401`: Unauthorized
- `403`: Forbidden
- `404`: NotFound

---

[API](https://skmtc.dev/flipdish/apis/flipdish-open-api-v1-0.md) · [All operations](https://skmtc.dev/flipdish/apis/flipdish-open-api-v1-0/llms.txt) · [OpenAPI document](https://skmtc.dev/flipdish/apis/flipdish-open-api-v1-0/revisions/4d8c2b9e1c13?raw)
