Reaktiviert ein gesperrtes Google Workspace-Abo.
Mit dieser Methode wird das Feld State Ihres Abos auf ACTIVE zurückgesetzt. Bevor Sie diese Methode verwenden können, müssen Sie den Fehler beheben, der zur Sperrung des Abos geführt hat. Bei dieser Methode werden alle Abos ignoriert oder abgelehnt, die sich derzeit nicht im Status „Ausgesetzt“ befinden. Informationen zum Reaktivieren eines Google Workspace-Abos
Bei einem Abo für eine Chat-Zielressource können Sie ein Abo so reaktivieren:
Eine Chat-App, die Ereignisse in Bereichen abonniert, in denen die App Mitglied ist, indem sie einen Autorisierungsbereich angibt, der mit
chat.appbeginnt, und eine einmalige Administratorgenehmigung erhält. Weitere InformationenEntwicklervorschau: Eine Chat-App, die alle Ereignisse in einer Google Workspace-Organisation abonniert, indem sie einen Autorisierungsbereich angibt, der mit
chat.app.allbeginnt, und eine einmalige Administratorgenehmigung erhält. Weitere InformationenEin Nutzer, indem er einen Autorisierungsbereich angibt, der
appnicht im Namen enthält. Weitere Informationen finden Sie unter Als Chat-Nutzer autorisieren.
HTTP-Anfrage
POST https://workspaceevents.googleapis.com/v1beta/{name=subscriptions/*}:reactivate
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
| Parameter | |
|---|---|
name |
Erforderlich. Ressourcenname des Abos. Format: |
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von Operation.
- Das Feld
metadataenthält ein leeres Array. - Das Feld
responseenthält eine aktualisierte Instanz vonSubscription.
Autorisierungsbereiche
Erfordert einen der folgenden OAuth-Bereiche:
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.memberships.readonlyhttps://www.googleapis.com/auth/chat.app.all.memberships.readonlyhttps://www.googleapis.com/auth/chat.app.messages.readonlyhttps://www.googleapis.com/auth/chat.app.all.messages.readonlyhttps://www.googleapis.com/auth/chat.app.spaceshttps://www.googleapis.com/auth/chat.app.spaces.readonlyhttps://www.googleapis.com/auth/chat.app.all.spaces.readonlyhttps://www.googleapis.com/auth/chat.app.all.users.readstate.readonlyhttps://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
Weitere Informationen finden Sie im Autorisierungsleitfaden.