Delete Facility
Delete Facility
Remove a facility from your organization
DELETE
Delete Facility
Delete Facility
Soft-delete a facility from your organization. The facility is marked as disabled (enabled=false) and associated supply contracts are deactivated.
Request
Path Parameters
uuid
required
The UUID of the facility to deleteExample:
550e8400-e29b-41d4-a716-446655440000Headers
string
required
Your API key for authenticationExample:
sk_live_1234567890abcdefstring
required
Your organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faResponse
Returns HTTP 204 No Content on successful deletion. No response body.Example
Successful Response
Common Errors
401 Unauthorized
Cause: Missing or invalid API key403 Forbidden
Cause: The user is not a member of the organization, or facility does not belong to the organization404 Not Found
Cause: Facility not foundBest Practices
Consider archiving a facility instead of deleting if you want to preserve historical data:Related Endpoints
List Facilities
Retrieve all facilities
Create Facility
Add a new facility