Skip to content

Commit 96a9fa3

Browse files
authored
Merge pull request #10 from garanews/patch-1
fix delete job
2 parents 6fe5ea7 + 64bb1f9 commit 96a9fa3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Usage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ A `JobArtifact` is represented by the following model class:
548548
|`get_report(job_id)` | Returns synchronously the `Job` object including its analysis report even if the job is still running | Job |
549549
|`get_report_async(job_id)` | Waits and returns the `Job` object including its analysis report | Job |
550550
|`get_artifacts(job_id)` | Returns a list of the observables that have been extracted from the analysis report | List[JobArtifact] |
551-
|`delete(org_id)` | Requires `superadmin` role, returns `true` if the delete completes successfully | Boolean |
551+
|`delete(job_id)` | Requires `superadmin` role, returns `true` if the delete completes successfully | Boolean |
552552

553553
### Examples
554554

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

0 commit comments

Comments
 (0)