Method: courses.delete
刪除課程。
這個方法會傳回下列錯誤代碼:
- 如果提出要求的使用者無法刪除要求的課程或存取錯誤,則為
PERMISSION_DENIED
。
- 如果沒有與要求 ID 相符的課程,則
NOT_FOUND
。
HTTP 要求
DELETE https://classroom.googleapis.com/v1/courses/{id}
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
id |
string
要刪除的課程 ID。這組 ID 可以是 Classroom 指派的 ID 或 alias 。
|
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/classroom.courses
詳情請參閱 OAuth 2.0 總覽。
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-03-21 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]