Skip to main content

Update a warehouse

PATCH/v1/warehouses/{warehouseId}Try it
View request and response examples ↓

Updates mutable Warehouse metadata. Currently supports renaming the Warehouse.

Authorization

X-API-Keystring · headerrequired

API key for /v1 requests.

Path parameters

warehouseIdstringrequired

Warehouse ID.

Headers

RequestIdstringrequired

Idempotency key for write requests.

Use a globally unique UUID or similar token for each logical write request. Never reuse a RequestId across different operations or payloads. You can safely retry the same RequestId only when the method, path, path parameters, query string, and request body are identical.

Minimum length1
Example8f6b0c2e-6a9a-4f2e-9c4c-0a1f9a2b7d31

Request body

application/jsonrequired
namestringrequired

Updated Warehouse display name. This endpoint only renames the Warehouse. Up to 32 characters. Supports only letters, numbers, underscores, and hyphens.

Maximum length32
Pattern^[A-Za-z0-9_-]+$
Exampleanalytics-warehouse-renamed

Response

Warehouse updated successfully.

application/json
successbooleanrequired

Indicates whether the request succeeded.

Exampletrue
requestIdstringrequired

Request ID returned by the server for tracing.

Examplereq-20260402-001
dataobjectrequired

Empty success payload.

Additional propertiesnone

Enter to send · Shift+Enter for a new line