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.
Fetches a specific storage policy.
34342The ID of the storage policy.
Returns a storage policy object.
An unexpected client error.
curl -i -X GET "https://api.box.com/2.0/storage_policies/34342" \
-H "authorization: Bearer <ACCESS_TOKEN>"await client.storagePolicies.getStoragePolicyById(storagePolicy.id);client.storage_policies.get_storage_policy_by_id(storage_policy.id)await client.StoragePolicies.GetStoragePolicyByIdAsync(storagePolicyId: storagePolicy.Id);try await client.storagePolicies.getStoragePolicyById(storagePolicyId: storagePolicy.id)client.getStoragePolicies().getStoragePolicyById(storagePolicy.getId())await client.StoragePolicies.GetStoragePolicyByIdAsync(storagePolicyId: storagePolicy.Id);await client.storagePolicies.getStoragePolicyById(storagePolicy.id);{
"id": "11446498",
"type": "storage_policy",
"name": "Montreal / Dublin"
}