Last Updated: May 27, 2021
Use this function to delete the text within the given indices in a Google Doc.
Delete Content (document_id, start_index, end_index, private_key, client_email)
| Input Parameter Name | Description |
|---|---|
| document_id | Name of the document |
| start_index | Starting index of text |
| end_index | Ending index of text |
| private_key | Private key of the service account |
| client_email | Email ID of the service account |
| Return Value | Description |
|---|---|
| Output |
|
Delete Content (XYZ123, 2, 7, —–BEGIN PRIVATE KEY—–\nABCD\n—–END PRIVATE KEY—–, name@project-id.iam.gserviceaccount.com)
To view all the Google Docs functions, click here.