Business

Change a form

patch/business/forms/{formId}

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/business/forms/{formId}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

formIdstring uuid required

Request body

namestring
notifyEmailsstring[]
successMessagestring nullable
redirectUrlstring nullable
language'en' | 'sv' | 'de' | 'fr' | 'es' | 'pt' | 'id' | 'da' | 'nb'
retentionDaysinteger
allowedOriginsstring[]
status'active' | 'paused'

Response

Updated

idstring uuid required
projectIdstring uuid required
namestring required
notifyEmailsstring[] required
successMessagestring nullable required
redirectUrlstring nullable required
language'en' | 'sv' | 'de' | 'fr' | 'es' | 'pt' | 'id' | 'da' | 'nb' required
retentionDaysinteger required
allowedOriginsstring[] required
status'active' | 'paused' required
submissionCountinteger required
unreadCountinteger required
lastSubmissionAtstring nullable required

ISO-8601 timestamp

createdAtstring required

ISO-8601 timestamp

updatedAtstring required

ISO-8601 timestamp

Changes

No recorded changes to this operation across all 1 revision of this API.