מחיקת מקור הנתונים שצוין. הבקשה תיכשל אם הנתונים המקור מכיל נקודות נתונים. רוצים לנסות עכשיו?
בקשה
בקשת HTTP
DELETE https://www.googleapis.com/fitness/v1/users/userId /dataSources/dataSourceId
פרמטרים
שם הפרמטר | ערך | תיאור |
---|---|---|
פרמטרים של נתיב | ||
dataSourceId |
string |
מזהה מקור הנתונים של מקור הנתונים שצריך למחוק. |
userId |
string |
אחזור מקור נתונים של האדם שזוהה. שימוש ב-me כדי
לציין את המשתמש המאומת. בשלב הזה יש תמיכה רק ב-me
בזמן האימון.
|
אישור
הבקשה הזו מחייבת הרשאה עם לפחות אחד מההיקפים הבאים:
היקף |
---|
https://www.googleapis.com/auth/fitness.activity.write |
https://www.googleapis.com/auth/fitness.location.write |
https://www.googleapis.com/auth/fitness.body.write |
https://www.googleapis.com/auth/fitness.nutrition.write |
https://www.googleapis.com/auth/fitness.blood_pressure.write |
https://www.googleapis.com/auth/fitness.blood_glucose.write |
https://www.googleapis.com/auth/fitness.oxygen_saturation.write |
https://www.googleapis.com/auth/fitness.body_temperature.write |
https://www.googleapis.com/auth/fitness.reproductive_health.write |
מידע נוסף זמין בדף אימות והרשאה.
גוף הבקשה
אל תספקו גוף בקשה בשיטה הזו.
תשובה
אם הפעולה בוצעה ללא שגיאות, השיטה הזו מחזירה משאב Users.dataSources בגוף התגובה.