Update data campaign

Update data campaign

post

Update a data campaign

Authorizations
Path parameters
organizationIdintegerrequired

Organization ID

campaignIdintegerrequired
Body
dataCampaignDashboardIdintegeroptional
namestringoptional
coordinatorUidsinteger[]optional

List of user IDs that coordinate this campaign

logostringoptional
descriptionstringoptional
queriesobject[]optional
linksobject[]optional
datasetsstring[]optional
pipelineIdsinteger[]optional
projectIdsinteger[]optional
Responses
application/json
objectoptional
post
POST /v1/api/organizations/{organizationId}/campaigns/{campaignId} HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 269

{
  "dataCampaignDashboardId": 1,
  "name": "text",
  "coordinatorUids": [
    1
  ],
  "logo": "text",
  "description": "text",
  "queries": [
    {
      "name": "text",
      "dataset": "text",
      "query": "text"
    }
  ],
  "links": [
    {
      "icon": "text",
      "name": "text",
      "link": "text"
    }
  ],
  "datasets": [
    "text"
  ],
  "pipelineIds": [
    1
  ],
  "projectIds": [
    1
  ]
}
200

OK

{
  "success": true,
  "error": "text"
}

Last updated

Was this helpful?