Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Field data to be updated
Response
Successful operation
Edit an existing field in a form
curl --request PUT \
--url https://api.helpyousponsor.com/v1/admin/form/field \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": 123,
"client_id": "<string>",
"hysform_id": 123,
"field_key": "<string>",
"field_label": "<string>",
"field_data": "<string>",
"field_type": "<string>",
"required": true,
"permissions": "<string>",
"admingroup_id": 123,
"is_title": true,
"sortable": 123,
"filter": 123,
"field_order": 123,
"deleted_at": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"type": "<string>"
}'
{
"message": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Field data to be updated
Successful operation
curl --request PUT \
--url https://api.helpyousponsor.com/v1/admin/form/field \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": 123,
"client_id": "<string>",
"hysform_id": 123,
"field_key": "<string>",
"field_label": "<string>",
"field_data": "<string>",
"field_type": "<string>",
"required": true,
"permissions": "<string>",
"admingroup_id": 123,
"is_title": true,
"sortable": 123,
"filter": 123,
"field_order": 123,
"deleted_at": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"type": "<string>"
}'
{
"message": "<string>"
}