Usage
Access this class through thecomposio.experimental property:
Properties
Methods
updateAcl() (deprecated)
Compatibility alias forcomposio.connectedAccounts.updateAcl(...). Update the per-user ACL on a SHARED connected account. Experimental — shape may change in future releases.
Only meaningful for SHARED connections — calling this on a PRIVATE connection raises ComposioAclOnlyForSharedError (400). ACL writes require the connection’s creator or an API key.
PATCH semantics: omit a field to leave it unchanged; pass an empty array to clear an allow/deny list. At least one field must be provided.
Resolution rule (deny wins):
- requesting
userIdinnotAllowedUserIds→ DENY allowAllUsers === true→ ALLOW- requesting
userIdinallowedUserIds→ ALLOW - otherwise → DENY
Returns
Promise<ConnectedAccountPatchResponse> — The PATCH response (\{ id, status, success \}). To read the updated ACL block, call composio.connectedAccounts.get(nanoid) after the promise resolves and inspect account.experimental?.aclConfigForShared.
Example
[] for either list replaces the list, it does not extend it:
allowedUserIds: []→ revoke all previously-granted user IDs (state reverts to deny-by-default unlessallowAllUsersis true).notAllowedUserIds: []→ clears the deny list, which silently re-grants access to users you previously blocked. Always pair an empty deny list with a deliberate audit of the allow side.