---
title: "media.zone.provision · OpenVibe.Services"
canonical: "https://openvibe.services/docs/capabilities/media.zone.provision"
updated: null
---

# media.zone.provision · OpenVibe.Services

HTML: [media.zone.provision · OpenVibe.Services](https://openvibe.services/docs/capabilities/media.zone.provision)

# `media.zone.provision`

Generated at 2026-12-01 05:42:00 UTC from [`openvibe-contracts v0.454.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.454.0) and [`openvibe-sdk v0.193.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.193.0).

Not grantable to apps (active, first-party).

Provision a zone in OpenVibe.Media (ADR-031 amendment 2026-10-02), granted only to OpenVibe.Zone: PUT /internal/zones/:zone\_id with the zone.object-zone@1 record Zone owns. Media applies a record only when its revision is higher than the one it holds, checks it with contracts.zones.checkObjectZone, and refuses a name another zone of the environment holds (409 media.zone.name\_retired) and any change of project, environment, name or namespace (409 media.zone.immutable). Media keeps a projection of each zone to resolve S3 bucket names, enforce the zone's quota\_bytes beside the environment's, and answer NoSuchBucket for a zone that is deleting or deleted. GET /internal/zones/:zone\_id reports the live objects and, while the zone is deleting, the objects remaining and held; Media tombstones and purges a deleting zone's objects (no restore window) and records when none remain. Loopback only.

- Owner: media (token audience `openvibe.media`)
- Version: 1.0
- Status: active
- Visibility: first-party
- Resource constraints: none
- Quota class: internal-write
- Permissions: zones:provision
- Input: [zone.object-zone@1](/docs/contracts/zone.object-zone)
- Output: common.no-body@1
- Events: —
- Implemented by: - `PUT /internal/zones/:zone_id`
- `GET /internal/zones/:zone_id`

[These routes in the API explorer](/docs/api/media#cap-media.zone.provision)
