Welcome to the new Box Support website. Check out all the details here on what’s changed.

How to get ID when new createfolder

New post

Comments

1 comment

  • Peter Christensen

    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

    0
    Comment actions Permalink

Please sign in to leave a comment.