Get targets
This operation returns the list of targets belonging to the current user, including their names.
Request
Parameters |
---|
Get the list of targets. The value is |
Limit the number of returned targets. |
Only show the targets in this workspace. To find the IDs of your workspaces, use the |
{
"op": "get_targets",
"limit": 3
}
Response
Attributes |
---|
The status of the operation. The value can be |
The list of targets for the current user. Returned in case of a successful operation. |
Error message. Returned in case of a failed operation. |
{
"op_status": "success",
"targets": [
{
"target_id": 8785534,
"name": "176.28.50.165",
"target_description": "IP target",
"workspace_id": 36489826
},
{
"target_id": 9796332,
"name": "testphp.vulnweb.com",
"target_description": "Random description",
"workspace_id": 42809779
},
{
"target_id": 65442312,
"name": "http://testphp.vulnweb.com/",
"target_description": "Here is another description",
"workspace_id": 42809779
}
]
}