Book a demo

← Documentation

Update Module

Endpoint: PUT /api/v1/modules/{id}

Prerequisites: The caller must provide a module id.

Authorization: API key (via the X-API-KEY header)

Input parameters:

Field nameDescriptionFormat
idModule idUUID

Request body:

Field nameDescriptionFormat
nameThe name of a moduleString
descriptionThe description of a moduleString

Output parameters:

Field nameDescriptionFormat
idModule idUUID
nameModule nameString
modifiedAtDate-time module was modifiedInstant
modifiedByUser who modified the moduleString
descriptionDescription textString
configContainer - see belowConfig
createdAtDate-time module was createdInstant
typeModule typeString
profilesContainer - see belowProfiles

Config:

Field nameDescriptionFormat
connectorNameConnector nameString
connectorVersionConnector versionString

Profiles:

Field nameDescriptionFormat
urlURLURL
passwordUser passwordString
usernameUser nameString
driverClassNameDriver

Example (placeholder values; never publish real host names or credentials):

{
    "id": "2f2fe37f-01f2-4ffb-9a97-3fd7d60ada5e",
    "name": "new_name",
    "modifiedAt": "2021-07-18T13:35:34.273894Z",
    "modifiedBy": "local dev",
    "description": "Sample module description",
    "config": {
        "connectorName": "oracle-db",
        "connectorVersion": "latest"
    },
    "createdAt": "2021-07-18T12:54:22.139933Z",
    "type": "oracle_db",
    "profiles": {
        "$default": {
            "url": "jdbc:oracle:thin:@//<db-host>:1521/ORCL",
            "password": "<password>",
            "username": "<username>",
            "driverClassName": "oracle.jdbc.driver.OracleDriver"
        }
    }
}

See also update module in the Public APIs - backend reference.

Read more

Tell us about yourself

You've been browsing the catalog. Leave your details to keep exploring.

Privacy policy