Skip to main content
Updates an existing action in an integration. Changing name does not change the action slug.

Base URL

Dedicated deploymentsReplace api.langdock.com with <your-deployment-url>/api/public in all requests.

Required Scopes

This endpoint requires the INTEGRATION_API scope.

Parameters

Path Parameters

Request Body

See Create Action for the full input field schema.
Sending the same field label keeps the field’s stored data.input key when that key is the camelCase form of the label. This includes the older casing from earlier Integrations API versions, such as userID for User ID, so existing action code keeps working.
If you omit description, it is cleared. If you omit inputFields, all existing input fields are removed. If you omit code, requiresConfirmation, or a label, the current value is preserved. To remove a label, send it as null. Supplying inputFields replaces the complete field list. If an input field omits jsonSchema, the existing JSON Schema is preserved when the field keeps its stored key. To remove a JSON Schema, send jsonSchema: null explicitly.

Example

Response Format

Success Response (200 OK)

Error Handling

Langdock intentionally blocks browser-origin requests to protect your API key and ensure your applications remain secure. For more information, please see our guide on API Key Best Practices.