OctopusDeploy / OctopusClients

| Public | Octopus.Client for commanding Octopus servers

Home Page:https://octopus.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OctopusMethodNotAllowedFoundException when using BuiltInPackageRepository.DeletePackage

eduherminio opened this issue · comments

I'm getting OctopusMethodNotAllowedFoundException when trying to use BuiltInPackageRepository.DeletePackage() method:

Repro:

var octopusEndpoint = new OctopusServerEndpoint("<server>", "<apikey>");
var client = OctopusAsyncClient.Create(octopusEndpoint).Result;

await client.Repository.BuiltInPackageRepository.DeletePackage(new PackageResource() { PackageId = "<packageId>" });

Seen in 8.10.2 version and 8.9.x ones.