Skip to content

Update campaign.​

PATCH
/backend/v1/campaigns/{campaignId}

Updates a campaign. You can modify the campaign's name, description, and associated attacks.

Authorizations​

HTTPBearer
Type
HTTP (bearer)

Parameters​

Path Parameters

campaignId*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
  
"attacks": [
  
  
{
  
  
  
{
  
  
  
  
"fileId": "string",
  
  
  
  
"name": "string",
  
  
  
  
"severity": 1,
  
  
  
  
"technique": "custom"
  
  
  
}
  
  
}
  
],
  
"description": "string",
  
"name": "string"
}

Responses​

Successful Response

application/json
JSON
{
  
"message": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI

Updated at: