Detections
List the custom detection locations of a zone.
client.leakedCredentialChecks.detections.list(DetectionListParams { zone_id } params, RequestOptionsoptions?): SinglePage<DetectionListResponse { id, password, username } >
GET/zones/{zone_id}/leaked-credential-checks/detections
Create a custom detection location for a zone.
client.leakedCredentialChecks.detections.create(DetectionCreateParams { zone_id, password, username } params, RequestOptionsoptions?): DetectionCreateResponse { id, password, username }
POST/zones/{zone_id}/leaked-credential-checks/detections
Get a custom detection location of a zone.
client.leakedCredentialChecks.detections.get(stringdetectionID, DetectionGetParams { zone_id } params, RequestOptionsoptions?): DetectionGetResponse { id, password, username }
GET/zones/{zone_id}/leaked-credential-checks/detections/{detection_id}
Update a custom detection location of a zone.
client.leakedCredentialChecks.detections.update(stringdetectionID, DetectionUpdateParams { zone_id, password, username } params, RequestOptionsoptions?): DetectionUpdateResponse { id, password, username }
PUT/zones/{zone_id}/leaked-credential-checks/detections/{detection_id}
Delete a custom detection location from a zone.
client.leakedCredentialChecks.detections.delete(stringdetectionID, DetectionDeleteParams { zone_id } params, RequestOptionsoptions?): DetectionDeleteResponse
DELETE/zones/{zone_id}/leaked-credential-checks/detections/{detection_id}