Memory Blocks

Set memory block public or private.

Toggle whether a memory block is publicly accessible.

put/memory_blocks/{memory_block_id}/privacy

Request

Path parameters

memory_block_idstring required

Id of the memory block.

Request body

is_publicboolean required

Whether the memory block should be public.

permissionsstring[]

Public permission levels to grant when is_public is true (e.g. 'h2ogpte/memory_block/edit'). Read access is always granted to a public memory block. Ignored when is_public is false. When omitted, edit access is granted by default; pass an explicit empty array to make the block public read-only.

Response

Successful operation

Changes

No recorded changes to this operation across all 1 revision of this API.