latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-141,4691,08313.4 MB

daeba3129b5f

actions

Set artifact and log retention settings for an organization

Sets artifact and log retention settings for an organization.

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the "Actions policies" fine-grained permission to use this endpoint.

put/orgs/{org}/actions/permissions/artifact-and-log-retention

Path parameters

orgstring required

The organization name. The name is not case sensitive.

Request body

daysinteger required

The number of days to retain artifacts and logs

Response

No content