Set page-to-package binding
PUT/wp-json/wp2lms-pro/embed-packages/v1/pages/:page_id/package
Enables page replacement by a package: package_id, alpine, launch_path. Invalid package returns 400.
Request
Responses
- 200
- 400
- 401
- 403
- 404
OK
invalid_package
Not authenticated. WordPress REST: rest_not_logged_in / rest_forbidden. Use cookie + X-WP-Nonce or Application Password.
Insufficient capability or invalid REST nonce. WordPress REST: rest_forbidden / rest_cookie_invalid_nonce.
page_not_found