Unify and manage your data

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 YesInformation about authentication access token in the format "Bearer <accessToken>". For more information, see Authentication API.

Request body

ParameterTypeDescription
typeThe type of schedule, which can be One time or Recurring.
scheduleStringFor the Recurring type, enter a string with a recurring rule based on RFC 5545. For the One time type, enter a date.

Response

ParameterType Description
successbooleanTrue for success response
errorErrorError object for details
resultDestinationArray of destination
result.idStringUUID of the destination
result.integrationIdStringUUID of the integration
result.typeType of schedule, which can be One time or recurring.
result.scheduleString

Can be one of the following:

  • A string with a recurring rule based on RFC 5545.

  • A date, if type is One time.

result.segmentUriStringThe segment URI to get details about the segment.