Reactivates a suspended Google Workspace subscription.
This method resets your subscription's State
field to ACTIVE
. Before you use this method, you must fix the error that suspended the subscription. This method will ignore or reject any subscription that isn't currently in a suspended state. To learn how to use this method, see Reactivate a Google Workspace subscription.
For a subscription on a Chat target resource, you can reactivate a subscription as:
A Chat app by specifying an authorization scope that begins with
chat.app
andgetting one-time administrator approval (Developer Preview). To learn more, see Authorize as a Chat app with administrator approval.A user by specifying an authorization scope that doesn't include
app
in its name. To learn more, see Authorize as a Chat user.
HTTP request
POST https://workspaceevents.googleapis.com/v1beta/{name=subscriptions/*}:reactivate
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. Resource name of the subscription. Format: |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Operation
.
- The
metadata
field contains an empty array. - The
response
field contains an updated instance ofSubscription
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/chat.spaces
https://www.googleapis.com/auth/chat.spaces.readonly
https://www.googleapis.com/auth/chat.messages
https://www.googleapis.com/auth/chat.messages.readonly
https://www.googleapis.com/auth/chat.messages.reactions
https://www.googleapis.com/auth/chat.messages.reactions.readonly
https://www.googleapis.com/auth/chat.memberships
https://www.googleapis.com/auth/chat.memberships.readonly
https://www.googleapis.com/auth/chat.app.memberships
https://www.googleapis.com/auth/chat.app.messages.readonly
https://www.googleapis.com/auth/chat.app.spaces
https://www.googleapis.com/auth/meetings.space.created
https://www.googleapis.com/auth/meetings.space.readonly
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.file
https://www.googleapis.com/auth/drive.metadata
https://www.googleapis.com/auth/drive.metadata.readonly
https://www.googleapis.com/auth/drive.readonly
For more information, see the Authorization guide.