Update Target's Webhook
PUT/targets/:target_id/webhooks/:id/
Request
Path Parameters
Identifier of the target.r of the target.
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
Body
required
v1
- V1
Possible values: <= 255 characters
Name of the webhook.
If true, verify the HTTPS certificate of the webhook URL. Defaults to true.
Possible values: [v1
]
API version of the webhook.
Body
required
v1
- V1
Possible values: <= 255 characters
Name of the webhook.
If true, verify the HTTPS certificate of the webhook URL. Defaults to true.
Possible values: [v1
]
API version of the webhook.
Body
required
v1
- V1
Possible values: <= 255 characters
Name of the webhook.
If true, verify the HTTPS certificate of the webhook URL. Defaults to true.
Possible values: [v1
]
API version of the webhook.
Responses
- 200
- 400
- 401
- 404
- 500
- application/json
- Schema
- Example (from schema)
Schema
user_created
- User Createduser_deleted
- User Deletedtarget_created
- Target Createdtarget_deleted
- Target Deletedtarget_verified
- Target Verifiedtarget_verification_failed
- Target Verification Failedscan_started
- Scan Startedscan_canceled
- Scan Canceledscan_completed
- Scan Completedscan_failed
- Scan Failedfinding_detected
- Finding Detectedfinding_fixed
- Finding FixedArray [
v1
- V1scheduled
- Scheduledsucceeded
- Succeededrescheduled
- Rescheduledfailed
- Failed]
A unique Base58 value identifying this object.
Possible values: [user_created
, user_deleted
, target_created
, target_deleted
, target_verified
, target_verification_failed
, scan_started
, scan_canceled
, scan_completed
, scan_failed
, finding_detected
, finding_fixed
]
Type of event:
Date and time of when the event occurred, in ISO 8601 UTC format.
For example, "2023-08-09T13:27:43.8208302".
Type of object returned in the content of the event.
Can have one of the following strings: "user", "target", "scan", or "finding".
Content of the event.
Can have one of the following objects: User, Target, Scan, or Finding.
webhooks
object[]
required
Webhooks of the event.
Possible values: [v1
]
API version of the webhook.
Possible values: [scheduled
, succeeded
, rescheduled
, failed
]
Status of the webhook:
Date and time of the next request to the webhook URL, in ISO 8601 UTC format.
For example, "2023-08-09T13:27:43.8208302".
Possible values: >= -2147483648
and <= 2147483647
Number of retries of requests to the webhook URL.
{
"id": "string",
"event_type": "user_created",
"occurred_at": "2024-07-29T15:51:28.071Z",
"object_type": "string",
"content": "string",
"webhooks": [
{
"id": "string",
"api_version": "v1",
"status": "scheduled",
"next_try": "2024-07-29T15:51:28.071Z",
"retries": 0
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
{
"<field name>": [
"Errors related to field <field name>."
],
"non_field_errors": [
"Errors not related to any field specific field."
]
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "Incorrect authentication credentials."
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "Not found."
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "Unexpected error while handling your request."
}