Add target
This operation creates a new target, with an optional description.
Request
Parameters |
---|
Add a new target. The value is |
The name of the new target. |
Set this description for the new target. |
Add the target to this workspace. |
{
"op": "add_target",
"name": "http://demo.pentest-tools.com",
"workspace_id": 5425246
}
Response
Attributes |
---|
The status of the operation. The value can be |
The ID of the newly created target. Returned in case of a successful operation. |
Error message. Returned in case of a failed operation. The value can be |
Error details. Returned in case of an invalid target error. |
{
"op_status": "success",
"target_id": 7583
}