RegistryPreview

DeleteTemplateVersion

Removes a specific version of a template from the registry. The template is identified by its source (e.g. 'private', 'github', or 'gitlab'), publisher organization, name, and semantic version. If this is the last remaining version of the template, the 'force' query parameter must be set to true; doing so will also delete the template itself. Returns 204 No Content on success, or 400 if an invalid query parameter is provided.

delete/api/preview/registry/templates/{source}/{publisher}/{name}/versions/{version}

Request

  • Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pulumi.com/api/preview/registry/templates/{source}/{publisher}/{name}/versions/{version}
  • Auth: none declared

Path parameters

sourcestring required

The template source: 'private', 'github', or 'gitlab'

publisherstring required

Organization that owns the template

namestring required

The template name

versionstring required

Semantic version string of the template version to delete

Query parameters

forceboolean

When true, allows deletion of the final remaining template version

Response

No Content

Changes

No recorded changes to this operation across all 1 revision of this API.