Unify and manage your data

Update Tenant Configuration

Updates an RDM tenant configuration.

Request

PUT https://{{rdm-service}}/configuration/rdm_tenant_name
Authorization: Bearer {{token}}
{
  "tenantId": "rdm_tenant_name",
  "label": "rdm_tenant_label",
  "lookupTypes": [
    {
      "uri": "rdm/lookupTypes/Gender",
      "label": "Gender",
      "description": "Description for Gender",
      "enabled": true
    },
    {
      "uri": "rdm/lookupTypes/Country",
      "label": "Country",
      "description": "Description for Country",
      "enabled": true,
      "attributes": [
        {
          "name": "Population",
          "type": "Integer",
          "required": false,
          "visible": true
        }
      ]
    },
    {
      "uri": "rdm/lookupTypes/State",
      "label": "State",
      "description": "Description for State",
      "enabled": true
    }
  ],
  "sources": [
    {
      "uri": "rdm/sources/Reltio",
      "label": "Reltio",
      "abbreviation": "Reltio"
    },
    {
      "uri": "rdm/sources/FB",
      "label": "Facebook",
      "abbreviation": "FB"
    }
  ]
}

Response

{
  "tenantId": "rdm_tenant_name",
  "updatedBy": "anton.artemyev",
  "updateDate": 1488450514707,
  "version": 2,
  "label": "rdm_tenant_label",
  "lookupTypes": [
    {
      "uri": "rdm/lookupTypes/Gender",
      "label": "Gender",
      "description": "Description for Gender",
      "enabled": true
    },
    {
      "uri": "rdm/lookupTypes/Country",
      "label": "Country",
      "description": "Description for Country",
      "enabled": true,
      "attributes": [
        {
          "name": "Population",
          "type": "Integer",
          "required": false,
          "visible": true
        }
      ]
    },
    {
      "uri": "rdm/lookupTypes/State",
      "label": "State",
      "description": "Description for State",
      "enabled": true
    }
  ],
  "sources": [
    {
      "uri": "rdm/sources/Reltio",
      "label": "Reltio",
      "abbreviation": "Reltio"
    },
    {
      "uri": "rdm/sources/FB",
      "label": "Facebook",
      "abbreviation": "FB"
    }
  ]
}