How to get ID when new createfolder
hello.
I use BOX CLI API.
CLI provides "create new folder"
> box folders:create xxxxxxx
But I cannot get new folder ID.
I have to upload that new folder to some files.
You you know
new created folders's id?
-
Hi Ken
When you create a folder via the Box cli, you should get a JSON payload returned that contains the ID of the newly created folder. Are you not seeing the returned JSON payload?
mbp-011325:box-java-sandpit-app pchristensen$ box folders:create 0 'My test folder'
{
"type": "folder",
"id": "128198201772",
....lots more json.....
Best regards,
Peter Christensen, Platform Solutions Engineer, Box
Please sign in to leave a comment.
Comments
1 comment