OAuthClients
Update an OAuth client
Changed onUpdate an existing OAuth client's properties such as name, description, redirect URIs, or published status.
post/oauthClients.update
Request
- Base URLhttps://app.getoutline.com/api
- URLhttps://app.getoutline.com/api/oauthClients.update
- Auth
- HTTP bearer
- or OAuth 2Authorization code: https://app.getoutline.com/oauth/authorizeToken URL: https://app.getoutline.com/oauth/token scopes: read, write
Request body
Example request
{
"name": "My App",
"description": "Integrate Acme Inc's services into Outline.",
"developerName": "Acme Inc",
"developerUrl": "https://example.com",
"redirectUris": [
"https://example.com/callback",
"com.example.app:/oauth2redirect"
],
"published": true
}Response
OK
Example response
{
"data": {
"name": "Acme Inc",
"description": "Integrate Acme Inc's services into Outline.",
"developerName": "Acme Inc",
"developerUrl": "https://example.com",
"clientId": "2bquf8avrpdv31par42a",
"clientSecret": "ol_sk_rapdv31...",
"redirectUris": [
"https://example.com/callback"
],
"published": true
},
"policies": [
{
"abilities": {
"read": true,
"update": true,
"delete": false
}
}
]
}Changes
- warning
the
request property's maxLength was set to1024 - warning
the
request property's maxLength was set to255 - warning
the
request property's maxLength was set to100 - warning
the
request property's maxLength was set to1024 - warning
the
request property's maxLength was set to100 - warning
the
/request property's maxLength was set to1024
- warning
- breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- breaking