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
stringThe network id
httpServer
WebhookHttpServerBody for creating a network HTTP server
cancellationToken
CancellationToken
Returns
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
stringThe network id
httpServerId
stringThe id of a HTTP server
cancellationToken
CancellationToken
Returns
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
stringThe network id
httpServerId
stringThe id of a HTTP server
cancellationToken
CancellationToken
Returns
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
stringThe network id
cancellationToken
CancellationToken
Returns
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
stringThe network id
httpServerId
stringThe id of a HTTP server
httpServer
WebhookHttpServerBody for updating a network HTTP server
cancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call