Skip to main content
PATCH
https://agentgate.mynewapi.com
/
api
/
v1
/
verification
/
plugins
/
{id}
Update Plugin
curl --request PATCH \
  --url https://agentgate.mynewapi.com/api/v1/verification/plugins/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "level": "<string>",
  "priority": 123,
  "enabled": true,
  "continueOnFail": true,
  "options": {},
  "webhookUrl": "<string>",
  "webhookTimeoutMs": 123
}
'

Update Plugin

Updates an existing verification plugin configuration.
Built-in plugins (IDs starting with built-in:) cannot be modified.

Request

id
string
required
The plugin ID to update
All body parameters are optional - only provided fields will be updated.
name
string
Updated plugin name
description
string
Updated description
level
string
Updated verification level
priority
number
Updated priority
enabled
boolean
Enable/disable the plugin
continueOnFail
boolean
Updated continue-on-fail setting
options
object
Updated plugin options
webhookUrl
string
Updated webhook URL
webhookTimeoutMs
number
Updated webhook timeout
curl -X PATCH https://agentgate.mynewapi.com/api/v1/verification/plugins/custom:security-scan \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "priority": 50,
    "options": {
      "severity": "critical"
    }
  }'

Response

Returns the updated plugin configuration.

Error Responses

Cannot Modify Built-in Plugin

{
  "success": false,
  "error": {
    "code": "FORBIDDEN",
    "message": "Built-in plugins cannot be modified"
  }
}