curl --request PUT \
--url https://api.hubapi.com/integrations/v1/{application-id}/timeline/event[
{
"id": "3",
"objectId": 1,
"eventTypeId": "123"
},
{
"id": "3",
"email": "test@test.com",
"eventTypeId": "123"
},
{
"id": "3",
"utk": "89b5afb740d41f4cd6651ac5237edf09",
"eventTypeId": "123"
},
{
"id": "1",
"objectId": 11,
"email": "santa.claus@far.com",
"eventTypeId": "123"
},
{
"id": "3",
"objectId": 1,
"eventTypeId": "123",
"extraData": {
"name": "JohnDoe",
"weather": "Cloudy"
}
},
{
"id": "3",
"objectId": 1,
"eventTypeId": "123",
"presentationId": "9876543",
"extraData": {
"name": "JohnDoe",
"weather": "Cloudy"
}
},
{
"id": "3",
"objectId": 1,
"eventTypeId": "123",
"timelineIFrame": {
"linkLabel": "View external data",
"iframeLabel": "Example iframe",
"iframeUri": "https://example.com",
"width": 800,
"height": 300
}
}
]Delete an existing Timeline event type.
curl --request PUT \
--url https://api.hubapi.com/integrations/v1/{application-id}/timeline/event[
{
"id": "3",
"objectId": 1,
"eventTypeId": "123"
},
{
"id": "3",
"email": "test@test.com",
"eventTypeId": "123"
},
{
"id": "3",
"utk": "89b5afb740d41f4cd6651ac5237edf09",
"eventTypeId": "123"
},
{
"id": "1",
"objectId": 11,
"email": "santa.claus@far.com",
"eventTypeId": "123"
},
{
"id": "3",
"objectId": 1,
"eventTypeId": "123",
"extraData": {
"name": "JohnDoe",
"weather": "Cloudy"
}
},
{
"id": "3",
"objectId": 1,
"eventTypeId": "123",
"presentationId": "9876543",
"extraData": {
"name": "JohnDoe",
"weather": "Cloudy"
}
},
{
"id": "3",
"objectId": 1,
"eventTypeId": "123",
"timelineIFrame": {
"linkLabel": "View external data",
"iframeLabel": "Example iframe",
"iframeUri": "https://example.com",
"width": 800,
"height": 300
}
}
]Scope requirements
Successful response - Delete an existing Timeline event type
The response is of type object.
Was this page helpful?