using Auth0.ManagementApi;
using System.Threading.Tasks;
public partial class Examples
{
public async Task Example() {
var client = new ManagementClient(
token: "<token>"
);
await client.ResourceServers.DeleteAsync(
"id"
);
}
}
Delete an existing API by ID. For more information, read API Settings.
DELETE
https://{tenantDomain}/api/v2
/
resource-servers
/
{id}
C#
using Auth0.ManagementApi;
using System.Threading.Tasks;
public partial class Examples
{
public async Task Example() {
var client = new ManagementClient(
token: "<token>"
);
await client.ResourceServers.DeleteAsync(
"id"
);
}
}