Basic

Update a form definition

Update an existing form in your HubSpot account using the specified form ID. This endpoint allows you to modify the properties of a form, such as its configuration, display options, and legal consent options. Ensure that the form ID is valid and that you have the necessary permissions to update forms.

put/marketing/forms/2027-03-beta/{formId}

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/marketing/forms/2027-03-beta/{formId}
  • Auth
    OAuth 2
    Authorization code: https://app.hubspot.com/oauth/authorize
    Token URL: https://api.hubapi.com/oauth/v1/token scopes: forms

Path parameters

formIdstring required

Request body

archivedboolean required
archivedAtstring date-time
createdAtstring date-time required
formType'hubspot' required
idstring required
namestring required
updatedAtstring date-time required

Response

successful operation

archivedboolean required
archivedAtstring date-time
createdAtstring date-time required
formType'hubspot' required
idstring required
namestring required
updatedAtstring date-time required

Changes

No recorded changes to this operation across all 2 revisions of this API.