Sample - GitHub REST API
DELETE/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}

Delete an image version of custom image from the organization

Delete an image version of custom image from the organization.

OAuth tokens and personal access tokens (classic) need the manage_runners:org scope to use this endpoint.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

3 parameters
orgstringrequired
The organization name. The name is not case sensitive.
image_definition_idintegerrequired
Image definition ID of custom image
versionstringrequired
Version of a custom image

1 status code
204Response