OAuthClients
Rotate the secret for an OAuth client
Changed onGenerate a new client secret for an OAuth client. The old secret will be invalidated immediately, so ensure your application is updated to use the new secret.
post/oauthClients.rotate_secret
Request
- Base URLhttps://app.getoutline.com/api
- URLhttps://app.getoutline.com/api/oauthClients.rotate_secret
- 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
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
- 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
- info
endpoint added
- info