Skip to content

Delete an image version of custom image from the organization

DELETE
/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}

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.

API method documentation

org
required
string

The organization name. The name is not case sensitive.

image_definition_id
required
integer

Image definition ID of custom image

version
required
string
/^\d+\.\d+\.\d+$/

Version of a custom image

Response