Search Results for

    Show / Hide Table of Contents
    View Source

    Class DeleteCreatedPackageController

    Inheritance
    System.Object
    ManagementApiControllerBase
    PackageControllerBase
    CreatedPackageControllerBase
    Namespace: Umbraco.Cms.Api.Management.Controllers.Package.Created
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public class DeleteCreatedPackageController : CreatedPackageControllerBase

    Constructors

    View Source

    DeleteCreatedPackageController(IPackagingService, IBackOfficeSecurityAccessor)

    Declaration
    public DeleteCreatedPackageController(IPackagingService packagingService, IBackOfficeSecurityAccessor backOfficeSecurityAccessor)
    Parameters
    Type Name Description
    IPackagingService packagingService
    IBackOfficeSecurityAccessor backOfficeSecurityAccessor

    Methods

    View Source

    Delete(CancellationToken, Guid)

    Deletes a package with a given id.

    Declaration
    public async Task<IActionResult> Delete(CancellationToken cancellationToken, Guid id)
    Parameters
    Type Name Description
    CancellationToken cancellationToken
    Guid id

    The id of the package.

    Returns
    Type Description
    Task<IActionResult>

    The result of the deletion.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • DeleteCreatedPackageController(IPackagingService, IBackOfficeSecurityAccessor)
    • Methods
      • Delete(CancellationToken, Guid)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX