Table of Contents

Interface INetworksWebhooksHttpServers

Namespace
Meraki.Api.Interfaces.General.Networks
Assembly
Meraki.Api.dll
public interface INetworksWebhooksHttpServers

Methods

CreateNetworkWebhooksHttpServerAsync(string, WebhookHttpServer, CancellationToken)

Add an HTTP server to a network

[Post("/networks/{networkId}/webhooks/httpServers")]
Task<WebhookHttpServer> CreateNetworkWebhooksHttpServerAsync(string networkId, WebhookHttpServer httpServer, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

httpServer WebhookHttpServer

Body for creating a network HTTP server

cancellationToken CancellationToken

Returns

Task<WebhookHttpServer>

Exceptions

ApiException

Thrown when fails to make API call

DeleteNetworkWebhooksHttpServerAsync(string, string, CancellationToken)

Delete an HTTP server from a network

[Delete("/networks/{networkId}/webhooks/httpServers/{httpServerId}")]
Task DeleteNetworkWebhooksHttpServerAsync(string networkId, string httpServerId, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

httpServerId string

The id of a HTTP server

cancellationToken CancellationToken

Returns

Task

Exceptions

ApiException

Thrown when fails to make API call

GetNetworkWebhooksHttpServerAsync(string, string, CancellationToken)

Return an HTTP server for a network

[Get("/networks/{networkId}/webhooks/httpServers/{httpServerId}")]
Task<WebhookHttpServer> GetNetworkWebhooksHttpServerAsync(string networkId, string httpServerId, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

httpServerId string

The id of a HTTP server

cancellationToken CancellationToken

Returns

Task<WebhookHttpServer>

Exceptions

ApiException

Thrown when fails to make API call

GetNetworkWebhooksHttpServersAsync(string, CancellationToken)

List the HTTP servers for a network

[Get("/networks/{networkId}/webhooks/httpServers")]
Task<List<WebhookHttpServer>> GetNetworkWebhooksHttpServersAsync(string networkId, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

cancellationToken CancellationToken

Returns

Task<List<WebhookHttpServer>>

Exceptions

ApiException

Thrown when fails to make API call

UpdateNetworkWebhooksHttpServerAsync(string, string, WebhookHttpServer, CancellationToken)

Update an HTTP server

[Put("/networks/{networkId}/webhooks/httpServers/{httpServerId}")]
Task<WebhookHttpServer> UpdateNetworkWebhooksHttpServerAsync(string networkId, string httpServerId, WebhookHttpServer httpServer, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

httpServerId string

The id of a HTTP server

httpServer WebhookHttpServer

Body for updating a network HTTP server

cancellationToken CancellationToken

Returns

Task<WebhookHttpServer>

Exceptions

ApiException

Thrown when fails to make API call