Table of Contents

Class RemoveHttpEndpoint

Namespace
DuetAPI.Commands
Assembly
DuetAPI.dll

Remove an existing HTTP endpoint. Returns true if the endpoint could be successfully removed

[RequiredPermissions(SbcPermissions.RegisterHttpEndpoints)]
public class RemoveHttpEndpoint : Command<bool>
Inheritance
RemoveHttpEndpoint
Derived
Inherited Members

Constructors

RemoveHttpEndpoint()

public RemoveHttpEndpoint()

Properties

EndpointType

Type of the endpoint

public HttpEndpointType EndpointType { get; set; }

Property Value

HttpEndpointType

Namespace

Namespace of the endpoint

public string Namespace { get; set; }

Property Value

string

Path

Endpoint path to unregister

public string Path { get; set; }

Property Value

string

Methods

UpdateFromJson(JsonElement)

Update this instance from a given JSON element

public override void UpdateFromJson(JsonElement jsonElement)

Parameters

jsonElement JsonElement

Element to update this intance from

Remarks

This method is auto-generated

Exceptions

JsonException

Failed to deserialize data

UpdateFromJsonReader(ref Utf8JsonReader)

Update this instance from a given JSON element

public override void UpdateFromJsonReader(ref Utf8JsonReader reader)

Parameters

reader Utf8JsonReader

Reader to update this intance from

Remarks

This method is auto-generated

Exceptions

JsonException

Failed to deserialize data