Connections
Update connection
Changed onUpdate connection properties including credentials. Credentials are encrypted at rest and never returned in API responses.
This endpoint supports credential rotation for infrastructure-as-code workflows. Depending on the connection type, you can update:
- Password-based connections (Postgres, MySQL, etc.): Use passwordUnencrypted to update the password
- BigQuery: Use passwordUnencrypted to update the service account JSON
- Snowflake: Use privateKey to update the RSA private key (PKCS#8 or PKCS#1 PEM format, minimum 2048 bits). Omni converts a PKCS#1 key to PKCS#8.
At least one field must be provided in the request body.
patch/v1/connections/{connectionId}
Request
- Base URLhttps://blobsrus.omniapp.co/api
- URLhttps://blobsrus.omniapp.co/api/v1/connections/{connectionId}
- AuthHTTP bearer
Path parameters
connectionIdstring uuid required
Connection ID
Request body
Example request
{
"passwordUnencrypted": "new-password-here",
"privateKey": "-----BEGIN PRIVATE KEY-----\nMIIEvgIBADANBg..."
}Response
Connection updated successfully
Example response
{
"success": true,
"message": "Updated connection credentials."
}Changes
- info
added the new optional request property
- info