cURL
curl --request PUT \ --url https://client-api.hotglue.xyz/tenant/{env_id}/{tenant}/mapping \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "config": { "mapping": {} }, "entityType": "taps", "entityId": "<string>", "flow": "<string>" }'
{}
Adds a mapping object to the tenant-config.json.
tenant-config.json
entityType
entityId
flow
{ "config": { "mapping": { "<FlowId>": { "<InternalTableName>/<RemoteTableName>": { "<InternalField>": "<RemoteField>" } } } }, "entityType": "taps", // optional - `taps` or `connectors` "entityId": "salesforce", // optional "flow": "FElWoODnU" // optional }
ID of environment
ID of tenant
200
The response is of type object.
object