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
datasetsstring[]Optional
pipelineIdsinteger[]Optional
projectIdsinteger[]Optional
Responses
200
OK
application/json
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?