Base URL
Required Scopes
This endpoint requires theINTEGRATION_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 ofname, description or access. To change the icon, use Replace Integration Icon.
Access
Add, change, or remove sharing. Leave outusers, 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.
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.