curl --request POST \
--url https://api.example.com/api/v1/accounts/{accountId}/deployments \
--header 'Content-Type: application/json' \
--data '
{
"widgetId": "<string>",
"deployments": [
{
"widgetConfigurationDistributions": [
{
"widgetConfigurationId": "<string>",
"distributionPercentage": 123
}
],
"environmentId": "<string>"
}
]
}
'{
"deployments": [
{
"id": "<string>",
"environmentId": "<string>",
"widgetConfigurationDistributions": [
{
"widgetConfigurationId": "<string>",
"distributionPercentage": 123
}
]
}
]
}Creates new deployments for the specified account
curl --request POST \
--url https://api.example.com/api/v1/accounts/{accountId}/deployments \
--header 'Content-Type: application/json' \
--data '
{
"widgetId": "<string>",
"deployments": [
{
"widgetConfigurationDistributions": [
{
"widgetConfigurationId": "<string>",
"distributionPercentage": 123
}
],
"environmentId": "<string>"
}
]
}
'{
"deployments": [
{
"id": "<string>",
"environmentId": "<string>",
"widgetConfigurationDistributions": [
{
"widgetConfigurationId": "<string>",
"distributionPercentage": 123
}
]
}
]
}