You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deletes all logs for a workflow run. Anyone with write access to the repository can use this endpoint. GitHub Apps must have the `actions` permission to use this endpoint.
4
+
5
+
```js
6
+
octokit.actions.deleteWorkflowRunLogs({
7
+
owner,
8
+
repo,
9
+
run_id,
10
+
});
11
+
```
12
+
13
+
## Parameters
14
+
15
+
<table>
16
+
<thead>
17
+
<tr>
18
+
<th>name</th>
19
+
<th>required</th>
20
+
<th>description</th>
21
+
</tr>
22
+
</thead>
23
+
<tbody>
24
+
<tr><td>owner</td><td>yes</td><td>
25
+
26
+
owner parameter
27
+
28
+
</td></tr>
29
+
<tr><td>repo</td><td>yes</td><td>
30
+
31
+
repo parameter
32
+
33
+
</td></tr>
34
+
<tr><td>run_id</td><td>yes</td><td>
35
+
36
+
run_id parameter
37
+
38
+
</td></tr>
39
+
</tbody>
40
+
</table>
41
+
42
+
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/actions/workflow_runs/#delete-workflow-run-logs).
"description": "Deletes all logs for a workflow run. Anyone with write access to the repository can use this endpoint. GitHub Apps must have the `actions` permission to use this endpoint.",
Copy file name to clipboardExpand all lines: src/generated/types.ts
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21728,6 +21728,11 @@ export type ActionsDeleteSecretFromRepoParams = {
21728
21728
owner: string;
21729
21729
repo: string;
21730
21730
};
21731
+
export type ActionsDeleteWorkflowRunLogsParams = {
21732
+
owner: string;
21733
+
repo: string;
21734
+
run_id: number;
21735
+
};
21731
21736
export type ActionsDownloadArtifactParams = {
21732
21737
archive_format: string;
21733
21738
artifact_id: number;
@@ -28452,6 +28457,16 @@ export type RestEndpointMethods = {
28452
28457
28453
28458
endpoint: EndpointInterface;
28454
28459
};
28460
+
/**
28461
+
* Deletes all logs for a workflow run. Anyone with write access to the repository can use this endpoint. GitHub Apps must have the `actions` permission to use this endpoint.
* Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in the response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to the repository can use this endpoint. GitHub Apps must have the `actions` permission to use this endpoint.
0 commit comments