Update form display

Request

POST https://www.activityinfo.org/resources/form/{formId}/displays

Request body

application/json

object
id string required
label string optional
model object optional
setAsDefault boolean required

Successful response

application/json

object
formId string required
displayId string required
version integer required
label string required
model object required
defaultDisplay boolean required

Error responses

Status Code Error Code Description
400 FORM_NOT_FOUND The form was not found.
400 INVALID_ID
400 MISSING_LABEL A form display cannot be added without a label or updated with an empty label
400 MISSING_MODEL A form display cannot be without a display model
401 AUTHENTICATION_REQUIRED The request must be authenticated
403 PERMISSION_DENIED You do not have permission to add or update this form display
Next item
Update form schema