Delete Form Fields
Deletes fields from a form of an App.
This API updates the pre-live settings.
After using this API, use the following API to deploy the settings to the live App:
Deploy App Settings
| Method | DELETE |
|---|---|
| URL | https://{subdomain}.kintone.com/k/v1/preview/app/form/fields.json |
| URL(guest space) | https://{subdomain}.kintone.com/k/guest/{SpaceID}/v1/preview/app/form/fields.json |
| Authentication | Password Authentication , API Token Authentication , Session Authentication |
| Content-Type | application/json |
Contents
Permissions
- App Management Permissions are needed.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| app | Integer or String | Yes | The App ID. |
| fields | Array | Yes | The list of field codes of the fields to delete. Up to 100 field codes can be specified. |
| revision | Integer or String | Specify the revision number of the settings that will be deployed. The request will fail if the revision number is not the latest revision. The revision will not be checked if this parameter is ignored, or -1 is specified. |
Sample Request
JavaScript using kintone.api()
|
|
XMLHttpRequest
|
|
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| revision | String | The revision number of the App settings. |
Sample Response
|
|
Limitations
The following fields can be deleted from the form, but their data will not be deleted.
- Record number
- Created by
- Updated by
- Created datetime
- Updated datetime
The following fields cannot be deleted.
- Label
- Blank space
- Border
- Status
- Assignee
- Category