Skip to main content

`POST /v1/admin/{property_id}/{resource}`

POST 

/v1/admin/:property_id/:resource

Submit admin data.

POST /v1/admin/{resource} - form-submit aliases. The RFW renderer only POSTs; each alias calls the SAME public domain handler (shared business rules), so the admin surface can create/update/delete exactly what staff can.

Responses​

OK - resource-polymorphic submit alias; the response is the aliased public handler's typed response verbatim (reservations: ReservationResponse; blocks: BlockCreated; events: EventCreated; profiles: ProfileCreated; company_payment_methods: CompanyPaymentMethod; company_users: CompanyUserBound; rate_links: LinkCompanyResult). The request body is the aliased handler's typed request, except rate_links which reads {company_profile_id, rate_plan_id}.