Skip to main content
PATCH
Update a single repository.

Path Parameters

repo_id
string<uuid>
required

Body

application/json
name
string | null
engagementId
string<uuid> | null
timeframe
null | object

Represent a range where the start is always set but the end is optional.

kind
null | enum<string>
Available options:
scoping,
collaborative_review,
private_contest,
public_contest,
private_bounty,
public_bounty
status
null | enum<string>

Status of a repository.

Available options:
draft,
upcoming,
live,
judging,
escalations,
escalations_ended,
complete,
published
currencyCode
string | null
totalRewardPot
string | null
primaryPot
string | null
additionalPotSplit
object[] | null
stakeAmount
string | null
submissionFee
string | null
assetGroups
object[] | null

Update asset groups.

safeHarbor
null | object
instructions
string | null
allowedSeverities
enum<string>[] | null

Severity of a [Finding].

Available options:
critical,
high,
medium,
low,
informational,
gas_optimization
consideredSeverities
enum<string>[] | null

Severity of a [Finding].

Available options:
critical,
high,
medium,
low,
informational,
gas_optimization
pointCalculation
string<uuid> | null
allowedLabels
object[]

Delete or add labels to a repository.

showAllFindings
boolean | null

Show all findings to researchers during judging and escalations

publicMetadata
boolean | null
kycRequired
boolean | null
cantinaTriaged
boolean | null

Cantina-Triaged (true) vs Self-Triaged (false). Admin-only.

companyUserAccess
null | enum<string>

Company user access level for a repository.

Available options:
open,
restricted
requiredCtfAddress
string | null

Response

Repository updated