A beta version of the new Box developer documentation site is launching soon! Updated Developer Guides, modern API Reference, and AI-powered search are on the way to help you build with Box faster. Stay tuned for more updates.
Delete a single shield list by its ID.
Version header.
Value is always 2025.0
90fb0e17-c332-40ed-b4f9-fa8908fbbb24 The unique identifier that represents a shield list. The ID for any Shield List can be determined by the response from the endpoint fetching all shield lists for the enterprise.
Shield List correctly removed. No content in response.
The shield list is assigned to some rules and cannot be removed.
The shield list was not found.
await client.shieldLists.deleteShieldListByIdV2025R0(shieldListCountry.id);client.shield_lists.delete_shield_list_by_id_v2025_r0(shield_list_country.id)await client.ShieldLists.DeleteShieldListByIdV2025R0Async(shieldListId: shieldListCountry.Id);client.getShieldLists().deleteShieldListByIdV2025R0(shieldListCountry.getId())