---
title: "space.site-manage-request@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/space.site-manage-request"
updated: null
---

# space.site-manage-request@1 · OpenVibe.Services

HTML: [space.site-manage-request@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/space.site-manage-request)

# SpaceSiteManageRequest `space.site-manage-request@1`

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).

- Version: 1.0.0
- Owner: space
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/space/site-manage-request.v1.json`](/docs/contracts/space.site-manage-request.json)

space.site-manage-request@1: bodies of space.site.manage on OpenVibe.Space (judged by the acting principal's project role too; a sandbox token is refused on production projects). POST /api/v1/projects { name, environment?, network\_project\_id? } creates a project owned by the person named with X-OV-Subject (403 project.owner\_must\_be\_user; 422 project.invalid\_name over 80 characters, project.invalid\_environment; 429 quota.projects; 409 project.network\_project\_taken). PUT /api/v1/projects/:id/quota { storage\_bytes?, deploys\_per\_day?, max\_files?, max\_file\_bytes?, sites?, custom\_domains? } (a Network staff user: 403 auth.staff\_only; fields left out keep their value). PUT /api/v1/projects/:id/members/:principal { role } (the owner: 422 member.invalid\_role, 409 member.owner\_fixed). POST /api/v1/projects/:id/sites { name } (a maintainer; lowercased and trimmed, one DNS label of 3–40 characters: 422 site.invalid\_name, site.name\_reserved; 409 site.name\_taken, site.name\_held; 429 quota.sites). POST /api/v1/projects/:id/takedown and /sites/:id/takedown { reason } (staff: stop serving, keep the content; 409 takedown.exists); DELETE on those { note? } lifts it. GET /api/v1/projects, /projects/:id, /projects/:id/quota, /projects/:id/sites and /sites/:id, and DELETE /api/v1/projects/:id, /projects/:id/members/:principal, /sites/:id and /deploys/:id take no body (deleting refuses taken-down content for non-staff: 409 site.taken\_down; an active deploy: 409 deploy.active).

## Fields

This schema has no named fields.

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: lift

~~~~
{
  "note": "Page removed by the owner"
}
~~~~

Valid: member

~~~~
{
  "role": "deployer"
}
~~~~

Valid: project

~~~~
{
  "name": "Harbour Radio",
  "environment": "production"
}
~~~~

Valid: quota

~~~~
{
  "storage_bytes": 2147483648,
  "custom_domains": null
}
~~~~

Valid: read

~~~~
{}
~~~~

Valid: site

~~~~
{
  "name": "harbour-radio"
}
~~~~

Valid: takedown

~~~~
{
  "reason": "Phishing page reported by two users"
}
~~~~

Rejected: wrong-types

~~~~
{
  "name": 42,
  "role": "admin",
  "reason": "",
  "storage_bytes": -1,
  "note": 5
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('space.site-manage-request@1', value);   // { valid, errors: [{ path, message }] }
~~~~
