Skip to content

Commit

Permalink
Merge pull request #10 from garanews/patch-1
Browse files Browse the repository at this point in the history
fix delete job
  • Loading branch information
nadouani authored Mar 4, 2019
2 parents 6fe5ea7 + 64bb1f9 commit 96a9fa3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ A `JobArtifact` is represented by the following model class:
|`get_report(job_id)` | Returns synchronously the `Job` object including its analysis report even if the job is still running | Job |
|`get_report_async(job_id)` | Waits and returns the `Job` object including its analysis report | Job |
|`get_artifacts(job_id)` | Returns a list of the observables that have been extracted from the analysis report | List[JobArtifact] |
|`delete(org_id)` | Requires `superadmin` role, returns `true` if the delete completes successfully | Boolean |
|`delete(job_id)` | Requires `superadmin` role, returns `true` if the delete completes successfully | Boolean |

### Examples

Expand All @@ -573,4 +573,4 @@ for job in jobs:
artifacts = api.jobs.get_artifacts(job.id)
for a in artifacts:
print('- [{}]: {}'.format(a.dataType, a.data))
```
```

0 comments on commit 96a9fa3

Please sign in to comment.