apicheats.dev Cheat sheet Raw .md
PUT

Try PUT /orgs/{org}/actions/permissions/artifact-and-log-retention — GitHub API

GitHub playground

Set artifact and log retention settings for an organization

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Path

Body application/json

1 body fields
  • days · required · integer — The number of days to retain checks, workflow runs, commit statuses, artifacts, and logs