NapX PMS Docs
POST
/v1/availability-restrictions

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/v1/availability-restrictions" \  -H "Content-Type: application/json" \  -d '{    "propertyId": "prop-uuid",    "type": "blackout",    "startsAt": "2026-03-15T00:00:00Z",    "endsAt": "2026-03-20T23:59:59Z"  }'
Empty