curl --request POST \
--url https://api.pocketenv.io/xrpc/io.pocketenv.file.updateFile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"file": {
"path": "<string>",
"content": "<string>",
"sandboxId": "<string>"
}
}
'{
"error": "<string>",
"message": "<string>"
}curl --request POST \
--url https://api.pocketenv.io/xrpc/io.pocketenv.file.updateFile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"file": {
"path": "<string>",
"content": "<string>",
"sandboxId": "<string>"
}
}
'{
"error": "<string>",
"message": "<string>"
}Was this page helpful?