Skip to main content
PUT
/
forms
/
update
Update form (partial)
curl --request PUT \
  --url https://api.octaviatech.app/cms/forms/update \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "id": "{{objectId}}",
  "title": {
    "en": "Contact Us (updated)"
  },
  "isActive": true
}'
{
  "success": true,
  "statusCode": 201,
  "message": "Form updated",
  "data": {
    "id": "{{objectId}}"
  }
}

Authorizations

x-api-key
string
header
required

Body

application/json
id
string
required
Example:

"{{objectId}}"

title
object
slug
string
description
object
submitButtonText
object
sections
object[]
isActive
boolean

Response

Updated

The response is of type any.