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. Diese Methode ignoriert oder lehnt alle Abos ab, die sich derzeit nicht im gesperrten Status befinden. Informationen zur Verwendung dieser Methode
Bei einem Abo für eine Chat-Zielressource können Sie ein Abo so reaktivieren:
Eine Chat-App, indem Sie einen Autorisierungsbereich angeben, der mit
chat.app
beginnt, und eine einmalige Administratorgenehmigung erhalten (Developer Preview). Weitere InformationenEin Nutzer, indem Sie einen Autorisierungsbereich angeben, der
app
nicht 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
metadata
enthält ein leeres Array. - Das Feld
response
enthält eine aktualisierte Instanz vonSubscription
.
Autorisierungsbereiche
Erfordert einen der folgenden OAuth-Bereiche:
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
Weitere Informationen finden Sie im Autorisierungsleitfaden.