Delete
|
|||||
|
|
||||
Deletes a topic.
This method returns the following error codes:
PERMISSION_DENIEDif the requesting user is not allowed to delete the requested topic or for access errors.FAILED_PRECONDITIONif the requested topic has already been deleted.NOT_FOUNDif no course or topic exists with the requested ID
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- See, create, and edit topics in Google Classroom
Input
This building block consumes 2 input parameters
| Name | Format | Description |
|---|---|---|
courseId Required |
STRING |
Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias |
id Required |
STRING |
Identifier of the topic to delete |
= Parameter name
= Format
|
courseId STRING Required Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias |
|
id STRING Required Identifier of the topic to delete |