Resfresh the OAuth services in a workspace.
| Name | Requires Auth | Permission | Setting |
|---|---|---|---|
refreshOAuthService |
Yes | add-oauth-service |
None |
{
"msg": "method",
"method": "refreshOAuthService",
"id": "44728"
}{
"msg": "result",
"id": "44728"
}Any of the following errors can occur on the endpoint.
- No Permission: Occurs when the authenticated user doesn't have the
add-oauth-servicepermission.
{% tabs %} {% tab title="No Permission" %}
{
"msg": "result",
"id": "44728",
"error": {
"isClientSafe": true,
"error": "error-action-not-allowed",
"reason": "Refresh OAuth Services is not allowed",
"details": {
"method": "refreshOAuthService",
"action": "Refreshing_OAuth_Services"
},
"message": "Refresh OAuth Services is not allowed [error-action-not-allowed]",
"errorType": "Meteor.Error"
}
}{% endtab %} {% endtabs %}
| Version | Description |
|---|---|
| 0.48.2 | Added |