post
https://{targetURL}/api/v1/addons//oauthConfig
Creates an OAuth 2.0 configuration for an add-on installed via the eLab Marketplace. Set isEncrypted to store the client secret encrypted. Set isPublic to distribute the configuration when add-ons are synced from this eLab installation.
Example:
```json
{
"sdkPluginID": 123,
"description": "config for my add-on",
"authorizationURI": "https://example.com/authEndpoint",
"tokenRequestURI": "https://example.com/tokenRequestEndpoint",
"refreshURI": "https://example.com/tokenRefreshEndpoint",
"clientID": "123456",
"clientSecret": "123456",
"isEncrypted": true,
"isPublic": true
}
```Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200The OAuth configuration is created and attached to the given sdkPluginID
400There was an error in the configuration
401You don't have permission to add a new OAuth configuration
404An add-on with the given sdkPluginID could not be found