PUT
/
oauth
/
client
/
{clientId}
curl --request PUT \
  --url https://app.teable.io/api/oauth/client/%7BclientId%7D \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"clientId":"string","name":"string","secrets":[{"id":"string","secret":"string","lastUsedTime":"string"}],"scopes":["string"],"logo":"http://example.com","homepage":"http://example.com","redirectUris":["http://example.com"]}'
{
  "clientId": "<string>",
  "name": "<string>",
  "secrets": [
    {
      "id": "<string>",
      "secret": "<string>",
      "lastUsedTime": "<string>"
    }
  ],
  "scopes": [
    "<string>"
  ],
  "logo": "<string>",
  "homepage": "<string>",
  "redirectUris": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

clientId
string
required

Body

application/json
clientId
string
required
name
string
required
homepage
string
required
redirectUris
string[]
required
secrets
object[]
scopes
string[]

Response

200 - application/json
Returns the updated OAuth application
clientId
string
required
name
string
required
homepage
string
required
redirectUris
string[]
required
secrets
object[]
scopes
string[]