oauth_providers
The developer console lets you manage oauth_providers without doing API calls. See https://console.context.io/#settings/imapoauth.
Supported methods
List methods:GETPOST
Instance methods:GETDELETE
oauth_providers list
GET: List of oauth providers configured
GET https://api.context.io/2.0/oauth_providers
test it
POST: Add a new OAuth provider
POST https://api.context.io/2.0/oauth_providers
test it
Parameters
| name | type | description |
| type | string | Identification of the OAuth provider. This must be either GMAIL and GOOGLEAPPSMARKETPLACE. |
| provider_consumer_key | string | The OAuth consumer key |
| provider_consumer_secret | string | The OAuth consumer secret |
oauth_provider instance
GET: Information about a given OAuth provider
GET https://api.context.io/2.0/oauth_providers/
keytest itkeyThe consumer key for this external OAuth provider
DELETE: Remove a given OAuth provider
DELETE https://api.context.io/2.0/oauth_providers/
keytest itkeyThe consumer key for this external OAuth provider