curl --location --request POST '/sheets/v2/spreadsheets//sheets_batch_update?user_id_type=lark_id' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"requests": [
{
"updateSheet": {
"properties": {
"sheetId": "string",
"title": "string",
"index": "int",
"hidden": "bool",
"frozenColCount": "int",
"frozenRowCount": "int",
"protect": {
"lock": "LOCK",
"lockInfo": "111",
"userIDs": [
"ou_xxxxxxxxxx"
]
}
}
}
}
]
}'
{
"code": 0,
"msg": "Success",
"data": {
"replies": [
{
"updateSheet": {
"properties": {
"sheetId": "string",
"title": "string",
"index": 0,
"hidden": true,
"frozenColCount": 0,
"frozenRowCount": 0,
"protect": {
"lock": "LOCK",
"lockInfo": "",
"userIds": "",
"userIDs": [
"ou_xxxxxxxxx"
]
}
}
}
}
]
}
}