English
Update an OAuth application
cURL
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>" ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Returns the updated OAuth application
The response is of type object.
object