Method: subscriptions.reactivate

הפעלה מחדש של מינוי ל-Google Workspace שהושעה.

בשיטה הזו, השדה State במינוי מאופס ל-ACTIVE. לפני שמשתמשים בשיטה הזו, צריך לתקן את השגיאה שגרמה להשעיית המינוי. בשיטה הזו, המערכת תתעלם מכל מינוי שלא מושעה כרגע או תדחה אותו. הוראות לשימוש בשיטה הזו מפורטות במאמר הפעלה מחדש של מינוי ל-Google Workspace.

בקשת HTTP

POST https://workspaceevents.googleapis.com/v1/{name=subscriptions/*}:reactivate

כתובת ה-URL משתמשת בתחביר של gRPC Transcoding.

פרמטרים של נתיב

פרמטרים
name

string

חובה. שם המשאב של המינוי.

פורמט: subscriptions/{subscription}

גוף הבקשה

גוף הבקשה צריך להיות ריק.

גוף התשובה

אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכיל מופע של Operation.

  • השדה metadata מכיל מערך ריק.
  • השדה response מכיל מופע מעודכן של Subscription.

היקפי הרשאה

נדרש אחד מהיקפי ההרשאות הבאים של OAuth:

  • 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/meetings.space.created
  • https://www.googleapis.com/auth/meetings.space.readonly

מידע נוסף זמין במדריך ההרשאות.