Target
The Target endpoint allows you to list all targets, get details about targets, and update details of specific targets.
Last updated
Was this helpful?
The Target endpoint allows you to list all targets, get details about targets, and update details of specific targets.
Last updated
Was this helpful?
GET
https://api.halosecurity.com/api/v1/target/list.json
Returns a paginated list of targets.
sort
Integer
0
= name (default)
sort_desc
Integer
0
= No (default)
1
= Yes
GET
https://api.halosecurity.com/api/v1/target/get.json
Returns the details of a target.
target_id*
Integer
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
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.