Method: projects.locations.dataStores.conversations.delete

מחיקת שיחה.

אם Conversation שרוצים למחוק לא קיים, מוחזרת השגיאה NOT_FOUND.

בקשת HTTP

DELETE https://discoveryengine.googleapis.com/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}

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

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

פרמטרים
name

string

חובה. שם המשאב של השיחה שרוצים למחוק. פורמט: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStoreId}/conversations/{conversationId}

גוף הבקשה

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

גוף התשובה

אם הפעולה בוצעה ללא שגיאות, גוף התגובה הוא אובייקט JSON ריק.

היקפי הרשאות

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

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/discoveryengine.readwrite

ניתן למצוא מידע נוסף כאן: Authentication Overview.

הרשאות IAM

נדרשת הרשאת IAM הבאה במשאב name:

  • discoveryengine.conversations.delete

מידע נוסף מופיע במאמרי העזרה בנושא IAM.