curl --request PATCH \
--url https://api.perscom.io/{version}/forms/{form}/fields/{field} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"key": "<string>",
"type": "<string>",
"cast": "<string>",
"description": "<string>",
"placeholder": "<string>",
"default": "<string>",
"help": "<string>",
"required": true,
"rules": "<string>",
"readonly": true,
"hidden": true,
"options": [
{}
],
"options_type": "array",
"options_model": "<string>"
}'
{
"data": {
"id": 123,
"name": "<string>",
"key": "<string>",
"type": "<string>",
"cast": "<string>",
"description": "<string>",
"placeholder": "<string>",
"default": "<string>",
"help": "<string>",
"required": true,
"rules": "<string>",
"readonly": true,
"hidden": true,
"options": [
{}
],
"options_type": "array",
"options_model": "<string>",
"label": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The API version to use.
v1
, v2
OK
The response is of type object
.
Was this page helpful?
curl --request PATCH \
--url https://api.perscom.io/{version}/forms/{form}/fields/{field} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"key": "<string>",
"type": "<string>",
"cast": "<string>",
"description": "<string>",
"placeholder": "<string>",
"default": "<string>",
"help": "<string>",
"required": true,
"rules": "<string>",
"readonly": true,
"hidden": true,
"options": [
{}
],
"options_type": "array",
"options_model": "<string>"
}'
{
"data": {
"id": 123,
"name": "<string>",
"key": "<string>",
"type": "<string>",
"cast": "<string>",
"description": "<string>",
"placeholder": "<string>",
"default": "<string>",
"help": "<string>",
"required": true,
"rules": "<string>",
"readonly": true,
"hidden": true,
"options": [
{}
],
"options_type": "array",
"options_model": "<string>",
"label": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
curl --request PATCH \
--url https://api.perscom.io/{version}/forms/{form}/fields/{field} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"key": "<string>",
"type": "<string>",
"cast": "<string>",
"description": "<string>",
"placeholder": "<string>",
"default": "<string>",
"help": "<string>",
"required": true,
"rules": "<string>",
"readonly": true,
"hidden": true,
"options": [
{}
],
"options_type": "array",
"options_model": "<string>"
}'
{
"data": {
"id": 123,
"name": "<string>",
"key": "<string>",
"type": "<string>",
"cast": "<string>",
"description": "<string>",
"placeholder": "<string>",
"default": "<string>",
"help": "<string>",
"required": true,
"rules": "<string>",
"readonly": true,
"hidden": true,
"options": [
{}
],
"options_type": "array",
"options_model": "<string>",
"label": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The API version to use.
v1
, v2
OK
The response is of type object
.
Was this page helpful?
curl --request PATCH \
--url https://api.perscom.io/{version}/forms/{form}/fields/{field} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"key": "<string>",
"type": "<string>",
"cast": "<string>",
"description": "<string>",
"placeholder": "<string>",
"default": "<string>",
"help": "<string>",
"required": true,
"rules": "<string>",
"readonly": true,
"hidden": true,
"options": [
{}
],
"options_type": "array",
"options_model": "<string>"
}'
{
"data": {
"id": 123,
"name": "<string>",
"key": "<string>",
"type": "<string>",
"cast": "<string>",
"description": "<string>",
"placeholder": "<string>",
"default": "<string>",
"help": "<string>",
"required": true,
"rules": "<string>",
"readonly": true,
"hidden": true,
"options": [
{}
],
"options_type": "array",
"options_model": "<string>",
"label": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}