Skip to main content
PUT
Update a campaign

Path Parameters

campaignId
string
required

The ID of the campaign

Body

application/json

Note: Additional validation rules are enforced at runtime via Zod and are not fully represented in this OpenAPI schema.

id
string
required
type
enum<string>
default:campaign
required
Available options:
campaign
levels
object[]
required
Minimum array length: 1
name
string
required
Required string length: 1 - 100
description
string
required
Minimum string length: 1
ownerEntityRef
string
required
group
string
badge
object
filter
object
exclude
object
documentationURL
string
badgeType
enum<string>
Available options:
medal,
status
draft
boolean
isEditable
boolean
createdAt
string
updatedAt
string
archived
boolean
supportChannel
string
startDate
string
targetCompletionDate
string
milestones
object[]

Response

OK

campaign
object

Note: Additional validation rules are enforced at runtime via Zod and are not fully represented in this OpenAPI schema.