Remove an OAuth service.
Name | Requires Auth | Permission | Setting |
---|---|---|---|
removeOAuthService |
Yes | add-oauth-service |
None |
Argument | Example | Required | Description |
---|---|---|---|
name |
okta |
Required | The name of the OAuth service you want to remove. |
{
"msg": "method",
"method": "removeOAuthService",
"id": "2",
"params": [
"Zapier"
]
}
{
"msg": "result",
"id": "2"
}
Any of the following errors can occur on the endpoint.
- No Permission: Occurs when the authenticated user doesn't have the
add-oauth-service
permission.
{% tabs %} {% tab title="No Permission" %}
{
"msg": "result",
"id": "2",
"error": {
"isClientSafe": true,
"error": "error-not-allowed",
"reason": "Not allowed",
"details": {
"method": "removeOAuthService"
},
"message": "Not allowed [error-not-allowed]",
"errorType": "Meteor.Error"
}
}
{% endtab %} {% endtabs %}