Links

Refresh OAuth Service

Resfresh the OAuth services in a workspace.
Name
Requires Auth
Permission
Setting
refreshOAuthService
Yes
add-oauth-service
None

Example call

{
"msg": "method",
"method": "refreshOAuthService",
"id": "44728"
}

Example Response

Success

{
"msg": "result",
"id": "44728"
}

Error

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.
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"
}
}

Change Log

Version
Description
0.48.2
Added
Last modified 2mo ago
Rocket.Chat versions receive support for six months after release.