Method: subscriptions.delete

מחיקת מינוי ל-Google Workspace. כאן מוסבר איך למחוק מינוי ל-Google Workspace.

בקשת HTTP

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

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

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

פרמטרים
name

string

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

פורמט: subscriptions/{subscription}

פרמטרים של שאילתה

פרמטרים
validateOnly

boolean

אופציונלי. אם הערך הוא true, הבקשה מאומתת ומוצגת בתצוגה מקדימה, אבל המינוי לא נמחק.

allowMissing

boolean

אופציונלי. אם הערך מוגדר כ-true והמינוי לא נמצא, הבקשה מצליחה אבל המינוי לא נמחק.

etag

string

אופציונלי. תג Etag של המינוי.

אם הוא קיים, הוא צריך להיות זהה ל-etag של השרת. אחרת, הבקשה נכשלת עם הסטטוס ABORTED.

גוף הבקשה

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

גוף התשובה

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

  • השדה metadata מכיל מערך ריק.
  • השדה response ריק.

היקפי הרשאות

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

  • https://www.googleapis.com/auth/chat.bot
  • 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
  • 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

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