Skip to main content
Updates the properties of an existing integration. Only provide the fields you want to change.

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. Sending access also requires INTEGRATION_SHARING_API. A refused share leaves the integration unchanged.

Parameters

Path Parameters

Request Body

Send at least one of name, description or access. To change the icon, use Replace Integration Icon.

Access

Add, change, or remove sharing. Leave out users, groups, or workspace to keep that audience as it is. An empty array keeps that list as it is. Each list holds at most 100 entries. Duplicate ids in one list are refused. "user" lets someone use the integration. "editor" lets them edit it. null removes that direct grant. Access that comes from a group or the workspace stays. A new user grant needs an active person in the workspace. A new group grant needs an active group in the workspace. You can revoke a grant for someone who has left. Service accounts are refused. You cannot change the key owner’s grant or the creator’s grant through access. Setting workspace, including null, needs a workspace admin. For a personal key that is its owner. A workspace key’s service account has the admin role.
New user and group grants notify the recipients in Langdock.

Example

Response Format

Success Response (200 OK)

access is present only when the request sent it. users leaves out the creator and the key owner.

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.