unprotect_sheet_range
Remove protection from a range.
writeGoogle Sheets, Docs & Drive
Take the protectedRangeId from protect_sheet_range, or for an older protection from get_sheet_metadata data.sheets[].protectedRanges[].protectedRangeId.
Call it
In an AI client (MCP)
{
"name": "unprotect_sheet_range",
"arguments": {
"spreadsheet_id": "<spreadsheet_id>",
"protected_range_id": 1
}
}From code (Tool API)
curl -X POST https://api.sellersheetai.com/api/v1/tools/unprotect_sheet_range \
-H "Authorization: Bearer $SELLERSHEET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"spreadsheet_id":"<spreadsheet_id>","protected_range_id":1}'Early access — the Tool API is open on request, contact us.
Arguments
| Name | Type | Description |
|---|---|---|
spreadsheet_idrequired | string | the spreadsheet ID (from its URL or get_sheet_metadata). |
protected_range_idrequired | integer | The ID returned by protect_sheet_range. |
Result
Every tool answers {notification, data, human_action}; data carries:
- { deleted: true }
Example
unprotect_sheet_range("1ABC...", 123456)