Accelerate the Value of Data

Update Shared Model

This API helps to update a shared model's destination environments and tenants.

Request

PUT https://ml-model-share.reltio.com/api/v1.0/{environment}/{tenantId}/models/{modelId}
Table 1. Parameters
Name Type Required Details

environment

path

Yes

Source environment of the Match IQ model.

Example: test.

tenantId

path

Yes

Source tenant of the Match IQ model.

Example: TestTenant.

modelId

path

Yes

Shared model identifier.

Example: eb4c7fcc-5afc-11eb-ae93-0242ac130002.

Sample

Request

Content-Type:application/json

{
  "destination": {
    "test": [
      "TestTenant"
    ],
    "ap-360": [
      "ProductionTenant"
    ]
  }
}

Response

Content-Type:application/json

{
  "id": "3b85fe58-1bde-4cbe-9706-ca29f0f82ff4",
  "targetTenants": {
    "dev": [
      "DevTenant"
    ],
    "test": [
      "TestTenant"
    ]
  },
  "name": "Test HCP",
  "description": "Test HCP Model",
  "createdBy": "john.smith@yourcompany.com",
  "createdTime": 1611048255142,
  "environment": "dev",
  "tenant": "DevTenant",
  "flowId": "06112371-23f6-4885-a9c8-19df4672a243"
}