Write file contents to a container
curl --request POST \
--url https://api.kazzle.app/api/spaces/{spaceId}/containers/{containerId}/write \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"path": "<string>",
"content": "",
"encoding": "utf-8"
}
'{
"ok": true
}Better Auth JWT token
Write successful
curl --request POST \
--url https://api.kazzle.app/api/spaces/{spaceId}/containers/{containerId}/write \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"path": "<string>",
"content": "",
"encoding": "utf-8"
}
'{
"ok": true
}