Update form shortcode
POST/wp-json/wp2tutor-forms/form/v1/updateShortcode
Saves the form shortcode/embed on the post. Same id + token scheme; the response is a new token.
Request
Responses
- 200
- 400
- 401
- 403
- 404
OK
invalid_post_type / invalid_json / empty_token / invalid_token / invalid_runner / invalid_id
Not authenticated. WordPress REST: rest_not_logged_in / rest_forbidden. Use cookie + X-WP-Nonce or Application Password.
invalid_permissions
post_not_found / entity_not_found