Update integration (blend) in account

PUT /accounts/{acount_guid_or_external_id}/blends/{blend_guid}

Update an integration (blend) in a customer account. Use this to e.g. set or update the schedule of a Blend or enable/disable a Blend.

Possible values for schedule interval:

-1 (disabled)
0 (only once)
30
60
120
300
900
1800
3600
14400
43200
86400
172800
604800
1209600
2592000

Possible values for timezone:

Path Parameters

Name Description Type
acount_guid_or_external_id string
blend_guid string

Body Parameters

Name Description Type
name Name of the Blend string
state disabled or available string
schedule_start_at Example: 2020-01-01 00:00:00 datetime
schedule_stop_at Example: 2020-01-01 00:00:00 string
schedule_interval In seconds. Possible values: -1 (disabled), 0 (only once), 30, 60, 120... string
schedule_timezone Example: Europe/London string

Examples

curl --request PUT \
  --url https://api.blendr.io/v1/accounts/CUST001/blends/9d2fe450-8310-11ea-9548-0d3c7d87c382 \
  --header 'accept: application/json' \
  --header 'content-type: application/json' \
  --header 'X-App-Id: 12345' \
  --header 'X-Api-Key: xxxxx' \
  --data '{
	"name": "The blend name",
	"state": "available",
	"schedule_start_at": "2020-01-01 00:00:00",
	"schedule_stop_at": null,
	"schedule_interval": 30,
	"schedule_timezone": "Europe/Brussels"
}'

Results

200

{}

400

{}