Archive a lead form
Changed onArchives a lead form so it can no longer be used (neither Meta nor LinkedIn allows deleting one).
Neither platform hard-deletes a form; this archives it (Meta status=ARCHIVED; LinkedIn state=ARCHIVED via PARTIAL_UPDATE). Meta forms must belong to the Page the accountId manages.
Request
- Base URL: https://zernio.com/api
- URL: https://zernio.com/api/v1/ads/lead-forms/{formId}
- Auth: HTTP bearer
Path parameters
Numeric form id (Meta leadgen_form id or LinkedIn leadForm id).
Query parameters
Connected Meta ads, facebook, instagram or linkedin ads account id (selects the platform). A Meta ads connection resolves its Page through the Facebook account linked to the same profile; an Instagram account uses the Page its ads run under (its own linked Page, else the Facebook or business-login Meta ads account on the same profile).
Response
Archived.
Changes
- info
added the non-success response with the status
- info
- warning
added the new
accountenum value to the/response property for the response status - warning
added the new
accountenum value to the/response property for the response status
- warning