cURL
curl --request PATCH \ --url https://karibu.briq.tz/v1/campaign/update/{campaign_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <x-api-key>' \ --data ' { "name": "<string>", "description": "<string>", "launch_date": "2023-11-07T05:31:56Z" } '
{ "campaign_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "launch_date": "2023-11-07T05:31:56Z", "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "created_at": "2023-11-07T05:31:56Z", "description": "<string>" }
Update a campaign (only if it belongs to a developer-accessible workspace owned by the user).
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response