1. Fields
Enspace
  • Introduction
  • Authentication
  • Concepts
  • First Steps
  • Workspaces
    • Types
      • Fields
        • List Fields
          GET
        • Create Field
          POST
        • Get Field
          GET
        • Field Updated
          PUT
        • Delete Field
          DELETE
      • Items
        • List Items
        • Create Item
        • Count Items
        • Get Item
        • Update Item
        • Delete item
      • Flows
        • Stages
          • Tasks
            • List Tasks
            • Get specific Task
            • New Task
          • List Stages
          • Get specific Stage
        • List Flows
        • Get specific Flow
      • Forms
        • List Form
        • Get specific Form
        • List Form Create
      • List Types
        GET
      • Count Types
        GET
      • Get specific Type
        GET
      • Create Type
        POST
      • Update Type
        PUT
      • Delete Type
        DELETE
    • Members
      • List Members
      • Count Members
      • Get Member
      • New Member
      • Update Member
      • Remove Member
    • Roles
      • List roles
      • Create role
      • Count roles
      • Get specific role
      • Update role
      • Delete role
      • List Role Permissions
      • Add Permission to Role
      • Remove Role Permission
    • Member Groups
      • List groups
      • New group
      • Get group
      • Update group
      • Delete group
      • Add Users
      • Remove Users
    • Quick Tasks
      • List Quick Tasks
      • Count Quick Tasks
      • Get Quick Task
      • Delete Quick Task
      • Update Quick Task
      • New Quick Task
    • Integrations
      • CertiSign
      • Docusign
      • D4Sign
      • Clicksign
      • Adobe Sign
      • Whatsapp Twilio
      • SendGrid
      • OpenAi
      • Integration
      • New Integration
    • Schedule Tasks
      • List Schedule Tasks
      • Get specify Schedule Task
    • List Workspaces
      GET
    • Workspace Context
      GET
    • New Workspace
      POST
    • Leave the workspace
      POST
    • Workspace Statistics
      GET
    • Workspace Deletion Preview
      GET
    • Delete Workspace
      DELETE
  • User
    • Request Log
    • List API Keys
  • Schemas
    • Schemas
      • Members
        • MemberUpdate
        • MemberCreate
        • Member
      • Roles
        • Role
        • RoleCreate
        • RoleUpdate
      • MemberGroups
        • MemberGroup
        • MemberGroupCreate
        • MemberGroupUpdate
      • Types
        • Type
        • TypeInput
        • TypeDetail
      • Items
        • Item
        • ItemInput
      • Workspace
        • WorkspaceContext
        • WorkspaceStats
        • Workspace
        • WorkspaceCreate
        • WorkspaceUpdate
      • Tasks
        • Tasks
      • Flow
        • Flow
      • Stages
        • Stage
      • Forms
        • Forms
      • Integrations
        • Integrations
      • User
      • RequestLog
      • UserApiKey
      • SuccessResponse
      • ErrorResponse
      • Field
      • FieldInput
      • Permission
      • PermissionInput
    • Response
      • BadRequest
      • Unauthorized
      • Forbidden
      • NotFound
      • ServerError
    • Position
    • Dimensions
    • NodeType
    • WorkflowNodeDefinition
    • WorkflowEdgeDefinition
    • TaskFields
    • TriggerNodeData
    • CronConfig
    • StartNodeData
    • EndNodeData
    • ApprovalNodeData
    • TaskNodeData
    • FormNodeData
    • EmailNodeData
    • ConditionalsNodeData
    • ConditionalRule
    • ConditionalsNodeData_examples_inline
    • RouteNodeData
    • RouteRule
    • MergeNodeData
    • CrudNodeData
    • HttpNodeData
    • Error
    • AiNodeData
    • ComparisonNotificationNodeData
    • Workflow
    • WorkflowCreate
    • WorkflowUpdate
    • WorkflowExecution
    • NodeExecution
  1. Fields

Field Updated

Developing
Develop Env
https://api-develop.enspace.io
Develop Env
https://api-develop.enspace.io
PUT
https://api-develop.enspace.io
/ws/types/{slug}/fields/{fieldId}
Maintainer:Julio Cordeiro

Update Field#

Updates the settings of an existing field.

Parameters#

slug (path) - Unique slug of the Type
fieldId (path) - ID of the Field

Request Body#

Only the fields sent will be updated. It is not necessary to send all fields.

Important Notes#

⚠️ Be careful when updating fields in use:
Changing a field type may cause data loss
Making a field required may invalidate existing items
Deactivating a field does not delete data, it only hides the field

Request

Authorization
API Key
Add parameter in header
x-api-key
Example:
x-api-key: ********************
API Key
Add parameter in header
en-workspace
Example:
en-workspace: ********************
or
Path Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
Field updated.
Body

🟠400Invalid request
🟠401Unauthorized
🟠404Record not found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api-develop.enspace.io/ws/types//fields/' \
--header 'x-api-key: <api-key>' \
--header 'en-workspace: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "string",
    "slug": "string",
    "type": "text",
    "required": false,
    "config": {
        "property1": "string",
        "property2": "string"
    },
    "order": 0
}'
Response Response Example
200 - Example 1
Previous
Get Field
Next
Delete Field
Built with