Set connection metadata (deprecated)
Deprecated
Set connection metadata (deprecated)
Set custom metadata for the connection or connections. If updating multiple connections pass in an array of connection ids instead of a string. This endpoint is deprecated, use the /connections/metadata endpoint instead.
POST
Set connection metadata (deprecated)
Requires an API key with the
environment:connections:update scope. Learn more about API key scopes.Set connection metadata
Nango uses the request body as the new metadata (it must be a JSON object). Note that this overrides any existing metadata. The connection_id must be passed in the body as well. Note that the connection_id can be a single string or an array of strings.Fetching connection metadata
To read the existing metadata of a connection, simply fetch the connection. Your custom metadata is included as part of the returned connection object.Authorizations
An Environment API key from your Nango environment, or an Account API key for account-level endpoints.
Body
application/json
Response
Successfully set the metadata for the connections