AI-generated Key Takeaways
-
This method reactivates a suspended Google Workspace subscription by resetting its state to
ACTIVEafter addressing the suspension cause. -
It requires an HTTP
POSTrequest to a specific URL with the subscription name as a path parameter and an empty request body. -
A successful response includes an
Operationobject containing the updatedSubscriptiondetails in theresponsefield. -
Authorization is necessary, utilizing one of the specified OAuth scopes related to Google Chat or Google Meet functionalities, as detailed in the Authorization guide.
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.appandgetting 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
appin 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
metadatafield contains an empty array. - The
responsefield contains an updated instance ofSubscription.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/chat.spaceshttps://www.googleapis.com/auth/chat.spaces.readonlyhttps://www.googleapis.com/auth/chat.messageshttps://www.googleapis.com/auth/chat.messages.readonlyhttps://www.googleapis.com/auth/chat.messages.reactionshttps://www.googleapis.com/auth/chat.messages.reactions.readonlyhttps://www.googleapis.com/auth/chat.membershipshttps://www.googleapis.com/auth/chat.memberships.readonlyhttps://www.googleapis.com/auth/chat.app.membershipshttps://www.googleapis.com/auth/chat.app.messages.readonlyhttps://www.googleapis.com/auth/chat.app.spaceshttps://www.googleapis.com/auth/meetings.space.createdhttps://www.googleapis.com/auth/meetings.space.readonlyhttps://www.googleapis.com/auth/drivehttps://www.googleapis.com/auth/drive.filehttps://www.googleapis.com/auth/drive.metadatahttps://www.googleapis.com/auth/drive.metadata.readonlyhttps://www.googleapis.com/auth/drive.readonly
For more information, see the Authorization guide.