Target
The Target endpoint allows you to list all targets, get details about targets, and update details of specific targets.
Last updated
The Target endpoint allows you to list all targets, get details about targets, and update details of specific targets.
Last updated
© 2024 Halo Security
GET
https://api.halosecurity.com/api/v1/target/list.json
Returns a paginated list of targets.
https://www.halosecurity.com/user/security/targets/list
Name | Type | Description |
---|---|---|
GET
https://api.halosecurity.com/api/v1/target/get.json
Returns the details of a target.
https://www.halosecurity.com/user/security/targets/list
GET
https://api.halosecurity.com/api/v1/target/update.json
Update details of a target. Requires the security_target_update
permission.
Learn about permissions: Permissions
https://www.halosecurity.com/user/security/targets/list
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
sort
Integer
0
= name (default)
sort_desc
Integer
0
= No (default)
1
= Yes
target_id*
Integer
target_id*
Integer
name
String
tag
String
Multiple. Sets only these tags.
tag_add
String
Multiple. Add tags to existing.
tag_remove
String
Multiple. Remove tags from existing.
next_scan_date
DateTime
YYYY-MM-DD HH24:MI UTC
scan_hour
Integer
Hour of day to scan (0-23). -1 for random.