v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,21696712.2 MB
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