publishDraft( )


Publishes the draft form.

Authentication

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permissions
Manage Events - all permissions
Manage Events
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
eventIdstringRequired

Event ID to which the form belongs.

Returns
Return Type:Promise<PublishDraftResponse>
Did this help?