websites
Unpublish Website
Changed onTake the live site down. The draft content is preserved for republishing.
post/websites/{website_id}/unpublish
Request
- Base URLhttps://api.moda.app/v1
- URLhttps://api.moda.app/v1/websites/{website_id}/unpublish
- AuthHTTP bearer
Path parameters
website_idstring uuid required
Headers
Moda-Version'2026-04-12' | '2026-05-01'
Example:2026-05-01
Calendar-dated API version pin. New integrations should pin 2026-05-01 to opt into the newest response shapes. For back-compat the server also accepts requests with no header and resolves them to the current default (today: 2026-04-12); that default advances on each sunset date. Any unsupported value returns 400 unsupported_version.
Response
Successful Response
object required
Changes
- info
endpoint added
- info