Authorizations
Project Bearer token (e.g., "Bearer sk-ac-xxxx")
from acontext import AcontextClient
client = AcontextClient(api_key='sk_project_token')
# Update block properties
client.blocks.update_properties(
space_id='space-uuid',
block_id='block-uuid',
title='Updated Title',
props={"text": "Updated content"}
){
"code": 123,
"error": "<string>",
"msg": "<string>"
}Update a block’s title and properties by its ID (works for all block types: page, folder, text, sop, etc.)
from acontext import AcontextClient
client = AcontextClient(api_key='sk_project_token')
# Update block properties
client.blocks.update_properties(
space_id='space-uuid',
block_id='block-uuid',
title='Updated Title',
props={"text": "Updated content"}
){
"code": 123,
"error": "<string>",
"msg": "<string>"
}Project Bearer token (e.g., "Bearer sk-ac-xxxx")