Update an integration for a tenant
Learn more about the Segmentation Api to update integrations for a tenant.
This API enables you to update an existing integration for your tenant.
Request
PUT /api/[env]/[tenant]/integrations/[integrationId]
Parameter | Required | Description | |
---|---|---|---|
Headers | Authorization
| Yes | Information about authentication access token in the format "Bearer <accessToken> ". For more information, see Authentication API. |
Request body
Parameter | Type | Description |
---|---|---|
accountId | String | UUID of the account |
integrationName | String | The integration name, to be shown in the UI. |
syncEndpoint | String | The endpoint address for the sync RIH. The activation service invokes this endpoint through a POST method to execute the sync process as per the schedule. The Segment ID and Segment labal fields are passed as input parameters, which can then be used inside the RIH recipes to retrieve audience details of the specific segment. |
Response
Parameter | Type | Description |
---|---|---|
success | boolean | True for success response |
error | Error | Error object for details |
result | Integration | Integration object |
result.id | String | UUID of integration |
result.accountId | String | UUID of account |
result.integrationName | String | The name of the integration, to be shown in the UI. |
result.syncEndpoint | String | The endpoint address for the sync. |