Remove Intel on Target by RID.
Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:target-write.
1
2
3
4
5
curl -X PUT \
\t-H "Content-type: application/json" \
\t-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v2/targetWorkbench/targets/ri.gotham-artifact.0-0.target.example/removeTargetIntel" \
-d '{"id":"Example Intel Id"}'| Error Name | ||
|---|---|---|
Target | Error Code | INVALID_ARGUMENT |
| Status Code | 400 | |
| Description | Cannot find target from provided rid. | |
| Parameters | targetRid | |
Remove | Error Code | PERMISSION_DENIED |
| Status Code | 403 | |
| Description | Could not removeTargetIntel the Target. | |
| Parameters | targetRid | |
See Errors for a general overview of errors in the platform.