action formapi_update_data_request { label: "Update a submission data request" provider: formapi method: PUT path: "/data_requests/{data_request_id}" encoding: json input: { type: "object" properties: { auth_phone_number_hash: { type: "string" } auth_provider: { type: "string" } auth_second_factor_type: { type: "string" enum: ["none", "phone_number", "totp", "mobile_push", "security_key", "fingerprint"] } auth_session_id_hash: { type: "string" } auth_session_started_at: { type: "string" } auth_type: { type: "string" enum: ["none", "password", "oauth", "email_link", "phone_number", "ldap", "saml"] } auth_user_id_hash: { type: "string" } auth_username_hash: { type: "string" } data_request_id: { type: "string" } email: { type: "string" } fields: { type: "array" items: { type: "string" } } metadata: { type: "object" } name: { type: "string" } order: { type: "integer" } } required: ["data_request_id"] additionalProperties: false } output: { type: "object" required: ["data_request", "status"] properties: { data_request: { type: "object" required: ["email", "fields", "id", "metadata", "name", "order", "sort_order", "state"] properties: { auth_phone_number_hash: { type: "string" } auth_provider: { type: "string" } auth_second_factor_type: { type: "string" enum: ["none", "phone_number", "totp", "mobile_push", "security_key", "fingerprint"] } auth_session_id_hash: { type: "string" } auth_session_started_at: { type: "string" } auth_type: { type: "string" enum: ["none", "password", "oauth", "email_link", "phone_number", "ldap", "saml"] } auth_user_id_hash: { type: "string" } auth_username_hash: { type: "string" } completed_at: { type: "string" } email: { type: "string" } fields: { type: "array" items: { type: "string" } } id: { type: "string" } ip_address: { type: "string" } metadata: { type: "object" } name: { type: "string" } order: { type: "integer" } sort_order: { type: "integer" } state: { type: "string" enum: ["pending", "completed"] } submission_id: { type: "string" } user_agent: { type: "string" } viewed_at: { type: "string" } } } errors: { type: "array" items: { type: "string" } } status: { type: "string" enum: ["success", "error"] } } } }