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}
Name | Type | Required | Details |
---|---|---|---|
environment |
path |
Yes |
Source environment of the Match IQ model. Example: |
tenantId |
path |
Yes |
Source tenant of the Match IQ model. Example: |
modelId |
path |
Yes |
Shared model identifier. Example: |
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"
}