Update destinations for a segment
Learn more about the Segmentation Api to update a destination.
This Activation service API will enable you to update an existing destination for a tenant.
Request
PUT /api/[env]/[tenant]/destinations/[destinationId]
| 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 |
|---|---|---|
| type | The type of schedule, which can be One time or Recurring. | |
| schedule | String | For the Recurring type, enter a string with a recurring rule based on RFC 5545. For the One time type, enter a date. |
Response
| Parameter | Type | Description |
|---|---|---|
| success | boolean | True for success response |
| error | Error | Error object for details |
| result | Destination | Array of destination |
| result.id | String | UUID of the destination |
| result.integrationId | String | UUID of the integration |
| result.type | Type of schedule, which can be One time or recurring. | |
| result.schedule | String | Can be one of the following:
|
| result.segmentUri | String | The segment URI to get details about the segment. |