API version v1

Method reference

POST /projects/{id}/status

Change project status

Scope: projects:write

Authenticate with Authorization: Bearer rv_live_…; see authentication.

Request

curl -X POST "https://api.rentevio.ru/api/public/v1/projects/00000000-0000-0000-0000-000000000000/status" \
  -H "Authorization: Bearer rv_live_…" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: …" \
  -d '{
  "status": "draft"
}'

Parameters

ParameterTypeRequiredDescription
idstringyes—

Request body

FieldTypeRequiredDescription
statusstringyes—
{
  "status": "draft"
}

Response

{
  "success": true,
  "data": {
    "id": "00000000-0000-0000-0000-000000000000",
    "number": "string",
    "name": "string",
    "status": "draft",
    "client_id": "00000000-0000-0000-0000-000000000000",
    "client_name": "string",
    "start_date": "string",
    "end_date": "string",
    "start_time": "string",
    "end_time": "string",
    "venue_id": "00000000-0000-0000-0000-000000000000",
    "venue_name": "string",
    "description": "string",
    "tags": [
      "string"
    ],
    "equipment": [
      {}
    ],
    "staff": [
      {}
    ],
    "transport": [
      {}
    ],
    "created_at": "string",
    "updated_at": "string"
  }
}

Errors

CodeHTTPWhen
VALIDATION400Invalid request parameters
UNAUTHORIZED401Invalid, missing, revoked, or expired API key
FORBIDDEN403The key does not have the required scope
NOT_FOUND404Resource not found or does not belong to the key’s company
NextCheck project resource conflicts
Was this helpful?