How to get ID when new createfolder

New post


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

    Comment actions Permalink

Please sign in to leave a comment.