এই অনুরোধটি অবশ্যই সংশ্লিষ্ট কোর্স কাজের উপাদান আইটেম তৈরি করতে ব্যবহৃত OAuth ক্লায়েন্ট আইডির বিকাশকারী কনসোল প্রকল্প দ্বারা করা উচিত।
এই পদ্ধতি নিম্নলিখিত ত্রুটি কোড প্রদান করে:
PERMISSION_DENIED যদি অনুরোধকারী বিকাশকারী প্রকল্প সংশ্লিষ্ট কোর্স কাজের উপাদান তৈরি না করে, যদি অনুরোধকারী ব্যবহারকারীকে অনুরোধ করা কোর্সটি মুছে ফেলার অনুমতি না দেওয়া হয় বা অ্যাক্সেস ত্রুটির জন্য।
FAILED_PRECONDITION যদি অনুরোধ করা কোর্স কাজের উপাদান ইতিমধ্যে মুছে ফেলা হয়েছে।
NOT_FOUND যদি অনুরোধ করা আইডি সহ কোন কোর্স বিদ্যমান না থাকে।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDeletes a course work material.\n\nThis request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work material item.\n\nThis method returns the following error codes:\n\n- `PERMISSION_DENIED` if the requesting developer project did not create the corresponding course work material, if the requesting user is not permitted to delete the requested course or for [access errors](/workspace/classroom/reference/Access.Errors).\n- `FAILED_PRECONDITION` if the requested course work material has already been deleted.\n- `NOT_FOUND` if no course exists with the requested ID.\n\nHTTP request\n\n`DELETE https://classroom.googleapis.com/v1/courses/{courseId}/courseWorkMaterials/{id}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\n| Parameters ||\n|------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `courseId` | `string` Identifier of the course. This identifier can be either the Classroom-assigned identifier or an [alias](/workspace/classroom/reference/rest/v1/courses.aliases#CourseAlias). |\n| `id` | `string` Identifier of the course work material to delete. This identifier is a Classroom-assigned identifier. |\n\nRequest body\n\nThe request body must be empty.\n\nResponse body\n\nIf successful, the response body is an empty JSON object.\n\nAuthorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/classroom.courseworkmaterials`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]