Skip to main content
POST
Replace a bundle's primary policy with a different policy

Body

application/json

Request to replace bundle primary policy

bundleId
string
required
newPolicyId
string
required
disableOldPolicy
boolean

Response

OK

id
string
required
state
enum<string>
required
Available options:
Active,
Archived,
Complete
attachments
object[]
classificationValue
string

The classification value of the primary policy

commentsCount
integer
createdAt
string
createdBy
object
currentStageInfo
object
enforcedPolicyIds
string[]

Policy IDs mandated by a PolicyEnforcer; these cannot be deactivated

evidenceRestricted
boolean
gates
object[]
hasRevalidationSchedule
boolean

Whether the bundle has an active revalidation schedule

name
string
policies
object[]
policyId
string

The ID of the primary policy

policyName
string
policyVersion
string

The version of the primary policy

policyVersionId
string

The version ID of the primary policy

projectId
string
projectName
string
projectOwner
string
stage
string

The stage of the primary policy

stageApprovals
object[]
stageAssignee
object

The assignee to the stage of the primary policy

stages
object[]