Skip to content

Support Shield Lists public API #601

Open

Description

@mattroyal

As far as I can tell Box CLI doesn't support Shield List management, though this is advertised as part of the Box public API.

https://developer.box.com/reference/v2025.0/resources/shield-list/

Please add this. In particular, support the ability to get, create, and update shield lists and shield list content.

Thanks!

Activity

  1. mwwoda commented on Oct 30, 2025

    @mwwoda
    Contributor

    Hello,
    I'll pass it to the team and we'll discuss it internally. In the meantime you could use manual request to interact with shields API - https://github.com/box/boxcli/blob/main/docs/request.md

  2. mattroyal commented on Nov 3, 2025

    @mattroyal
    Author

    A note to anyone who hasn't used this call before: you may need to add an API version header.

    $guid = "insert the guid for your box shield group here"
    $request = "/shield_lists/$($guid)"
    $header = "box-version: 2025.0"
    $results = box request $request -H $header --json | ConvertFrom-Json
    # output email addresses in the list
    $results.body.content.email_addresses

    Thanks for the tip @mwwoda . I look forward to this being fully supported in the future!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions