Table of Contents

Interface IOrganizationSwitches

Namespace
Meraki.Api.Interfaces.General.Organizations
Assembly
Meraki.Api.dll

List the switchports in an organization

public interface IOrganizationSwitches
Extension Methods

Methods

BatchOrganizationSwitchPortsProfilesNetworksAssignmentsCreate(string, OrganizationSwitchPortsProfilesNetworksAssignmentsBatchCreateRequest, CancellationToken)

Batch Create Network and Smart Ports Profile associations for a specific profile

[Post("/organizations/{organizationId}/switch/ports/profiles/networks/assignments/batchCreate")]
Task<OrganizationSwitchPortsProfilesNetworksAssignmentsBatchCreateResponse> BatchOrganizationSwitchPortsProfilesNetworksAssignmentsCreate(string organizationId, OrganizationSwitchPortsProfilesNetworksAssignmentsBatchCreateRequest OrganizationSwitchPortsProfilesNetworksAssignmentsbatchCreateRequest, CancellationToken cancellationToken = default)

Parameters

organizationId string
OrganizationSwitchPortsProfilesNetworksAssignmentsbatchCreateRequest OrganizationSwitchPortsProfilesNetworksAssignmentsBatchCreateRequest
cancellationToken CancellationToken

Returns

Task<OrganizationSwitchPortsProfilesNetworksAssignmentsBatchCreateResponse>

Exceptions

ApiException

Thrown when fails to make API call

BulkOrganizationSwitchPortsProfilesNetworksAssignmentsDeleteAsync(string, OrganizationSwitchPortsProfilesNetworksAssignmentsBulkDeleteRequest, CancellationToken)

Bulk delete Network and Smart Port Profile associations

[Post("/organizations/{organizationId}/switch/ports/profiles/networks/assignments/bulkDelete")]
Task BulkOrganizationSwitchPortsProfilesNetworksAssignmentsDeleteAsync(string organizationId, OrganizationSwitchPortsProfilesNetworksAssignmentsBulkDeleteRequest organizationSwitchPortsProfilesNetworksAssignmentsBulkDeleteRequest, CancellationToken cancellationToken = default)

Parameters

organizationId string
organizationSwitchPortsProfilesNetworksAssignmentsBulkDeleteRequest OrganizationSwitchPortsProfilesNetworksAssignmentsBulkDeleteRequest
cancellationToken CancellationToken

Returns

Task

Exceptions

ApiException

Thrown when fails to make API call

CreateOrganizationSwitchPortsProfilesAsync(string, OrganizationSwitchPortsProfilesProfileCreateRequest, CancellationToken)

Create a port profile in an organization

[Post("/organizations/{organizationId}/switch/ports/profiles")]
Task<OrganizationSwitchPortsProfilesProfileDetailed> CreateOrganizationSwitchPortsProfilesAsync(string organizationId, OrganizationSwitchPortsProfilesProfileCreateRequest organizationSwitchPortsProfilesProfile, CancellationToken cancellationToken = default)

Parameters

organizationId string
organizationSwitchPortsProfilesProfile OrganizationSwitchPortsProfilesProfileCreateRequest
cancellationToken CancellationToken

Returns

Task<OrganizationSwitchPortsProfilesProfileDetailed>

Exceptions

ApiException

Thrown when fails to make API call

CreateOrganizationSwitchPortsProfilesAutomationAsync(string, OrganizationSwitchPortsProfileAutomationCreateRequest, CancellationToken)

Create a port profile automation for an organization

[Post("/organizations/{organizationId}/switch/ports/profiles/automations")]
Task<OrganizationSwitchPortsProfileAutomationItem> CreateOrganizationSwitchPortsProfilesAutomationAsync(string organizationId, OrganizationSwitchPortsProfileAutomationCreateRequest organizationSwitchPortsProfilesProfileAutomation, CancellationToken cancellationToken = default)

Parameters

organizationId string
organizationSwitchPortsProfilesProfileAutomation OrganizationSwitchPortsProfileAutomationCreateRequest
cancellationToken CancellationToken

Returns

Task<OrganizationSwitchPortsProfileAutomationItem>

Exceptions

ApiException

Thrown when fails to make API call

CreateOrganizationSwitchPortsProfilesNetworksAssignment(string, OrganizationSwitchPortsProfilesNetworksAssignmentCreateRequest, CancellationToken)

Create Network and Smart Ports Profile association for a specific profile

[Post("/organizations/{organizationId}/switch/ports/profiles/networks/assignments")]
Task<OrganizationSwitchPortsProfilesNetworksAssignment> CreateOrganizationSwitchPortsProfilesNetworksAssignment(string organizationId, OrganizationSwitchPortsProfilesNetworksAssignmentCreateRequest organizationSwitchPortsProfilesNetworksAssignment, CancellationToken cancellationToken = default)

Parameters

organizationId string
organizationSwitchPortsProfilesNetworksAssignment OrganizationSwitchPortsProfilesNetworksAssignmentCreateRequest
cancellationToken CancellationToken

Returns

Task<OrganizationSwitchPortsProfilesNetworksAssignment>

Exceptions

ApiException

Thrown when fails to make API call

DeleteOrganizationSwitchPortsProfileAsync(string, string, CancellationToken)

Delete a port profile from an organization

[Delete("/organizations/{organizationId}/switch/ports/profiles/{id}")]
Task DeleteOrganizationSwitchPortsProfileAsync(string organizationId, string id, CancellationToken cancellationToken = default)

Parameters

organizationId string
id string
cancellationToken CancellationToken

Returns

Task

Exceptions

ApiException

Thrown when fails to make API call

DeleteOrganizationSwitchPortsProfilesAutomationAsync(string, string, CancellationToken)

Delete an automation port profile from an organization

[Delete("/organizations/{organizationId}/switch/ports/profiles/automations/{id}")]
Task DeleteOrganizationSwitchPortsProfilesAutomationAsync(string organizationId, string id, CancellationToken cancellationToken = default)

Parameters

organizationId string
id string
cancellationToken CancellationToken

Returns

Task

Exceptions

ApiException

Thrown when fails to make API call

DeleteOrganizationSwitchPortsProfilesNetworksAssignment(string, string, CancellationToken)

Delete Network and Smart Port profile association for a specific profile

[Delete("/organizations/{organizationId}/switch/ports/profiles/networks/assignments/{assignmentId}")]
Task DeleteOrganizationSwitchPortsProfilesNetworksAssignment(string organizationId, string assignmentId, CancellationToken cancellationToken = default)

Parameters

organizationId string
assignmentId string
cancellationToken CancellationToken

Returns

Task

Exceptions

ApiException

Thrown when fails to make API call

GetOrganizationSwitchDevicesSystemQueuesHistoryBySwitchByIntervalAsync(string, CancellationToken)

Return a historical record of packet transmission and loss, broken down by protocol, for insight into switch device health.

[Get("/organizations/{organizationId}/switch/devices/system/queues/history/bySwitch/byInterval")]
Task<OrganizationSwitchDevicesSystemQueuesHistoryBySwitchByInterval> GetOrganizationSwitchDevicesSystemQueuesHistoryBySwitchByIntervalAsync(string organizationId, CancellationToken cancellationToken = default)

Parameters

organizationId string
cancellationToken CancellationToken

Returns

Task<OrganizationSwitchDevicesSystemQueuesHistoryBySwitchByInterval>

Exceptions

ApiException

Thrown when fails to make API call

GetOrganizationSwitchPortsBySwitchAsync(string, int?, string?, string?, string?, List<string>?, string?, string?, string, List<string>?, List<string>?, CancellationToken)

List the switchports in an organization by switch

[Get("/organizations/{organizationId}/switch/ports/bySwitch")]
Task<List<SwitchPortsBySwitch>> GetOrganizationSwitchPortsBySwitchAsync(string organizationId, int? perPage, string? startingAfter, string? endingBefore, string? configurationUpdatedAfter, List<string>? networkIds, string? name, string? mac, string serial, List<string>? serials, List<string>? macs, CancellationToken cancellationToken = default)

Parameters

organizationId string

The OrganizationID

perPage int?

The number of entries per page returned. Acceptable range is 3 - 50. Default is 50.

startingAfter string

A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

endingBefore string

A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

configurationUpdatedAfter string

Optional parameter to filter results by switches where the configuration has been updated after the given timestamp

networkIds List<string>

Optional parameter to filter switchports by network.

name string

Optional parameter to filter switchports belonging to switches by name. All returned switches will have a name that contains the search term or is an exact match.

mac string

Optional parameter to filter switchports belonging to switches by MAC address. All returned switches will have a MAC address that contains the search term or is an exact match.

serial string

Optional parameter to filter switchports belonging to switches by serial number. All returned switches will have a serial number that contains the search term or is an exact match.

serials List<string>

Optional parameter to filter switchports belonging to switches with one or more serial numbers. All switchports returned belong to serial numbers of switches that are an exact match.

macs List<string>

Optional parameter to filter switchports by one or more MAC addresses belonging to devices. All switchports returned belong to MAC addresses of switches that are an exact match.

cancellationToken CancellationToken

Returns

Task<List<SwitchPortsBySwitch>>

Exceptions

ApiException

Thrown when fails to make API call

GetOrganizationSwitchPortsClientsOverviewByDeviceAsync(string, CancellationToken)

List the number of clients for all switchports with at least one online client in an organization.

[Get("/organizations/{organizationId}/switch/ports/clients/overview/byDevice")]
Task<OrganizationSwitchPortsClientsOverviewByDevice> GetOrganizationSwitchPortsClientsOverviewByDeviceAsync(string organizationId, CancellationToken cancellationToken = default)

Parameters

organizationId string
cancellationToken CancellationToken

Returns

Task<OrganizationSwitchPortsClientsOverviewByDevice>

Exceptions

ApiException

Thrown when fails to make API call

GetOrganizationSwitchPortsMirrorsBySwitchAsync(string, CancellationToken)

List the port mirror configurations in an organization by switch

[Get("/organizations/{organizationId}/switch/ports/mirrors/bySwitch")]
Task<OrganizationSwitchPortsMirrorsByDeviceResponse> GetOrganizationSwitchPortsMirrorsBySwitchAsync(string organizationId, CancellationToken cancellationToken = default)

Parameters

organizationId string
cancellationToken CancellationToken

Returns

Task<OrganizationSwitchPortsMirrorsByDeviceResponse>

Exceptions

ApiException

Thrown when fails to make API call

GetOrganizationSwitchPortsProfileAsync(string, string, CancellationToken)

Get detailed information about a port profile

[Get("/organizations/{organizationId}/switch/ports/profiles/{id}")]
Task<OrganizationSwitchPortsProfilesProfileDetailed> GetOrganizationSwitchPortsProfileAsync(string organizationId, string id, CancellationToken cancellationToken = default)

Parameters

organizationId string
id string
cancellationToken CancellationToken

Returns

Task<OrganizationSwitchPortsProfilesProfileDetailed>

Exceptions

ApiException

Thrown when fails to make API call

GetOrganizationSwitchPortsProfilesAsync(string, CancellationToken)

List the port profiles in an organization

[Get("/organizations/{organizationId}/switch/ports/profiles")]
Task<List<OrganizationSwitchPortsProfilesProfile>> GetOrganizationSwitchPortsProfilesAsync(string organizationId, CancellationToken cancellationToken = default)

Parameters

organizationId string
cancellationToken CancellationToken

Returns

Task<List<OrganizationSwitchPortsProfilesProfile>>

Exceptions

ApiException

Thrown when fails to make API call

GetOrganizationSwitchPortsProfilesAutomationsAsync(string, CancellationToken)

List the automation port profiles in an organization

[Get("/organizations/{organizationId}/switch/ports/profiles/automations")]
Task<List<OrganizationSwitchPortsProfileAutomation>> GetOrganizationSwitchPortsProfilesAutomationsAsync(string organizationId, CancellationToken cancellationToken = default)

Parameters

organizationId string
cancellationToken CancellationToken

Returns

Task<List<OrganizationSwitchPortsProfileAutomation>>

Exceptions

ApiException

Thrown when fails to make API call

GetOrganizationSwitchPortsProfilesNetworksAssignments(string, CancellationToken)

Fetch all Network - Smart Port Profile associations for an organization

[Get("/organizations/{organizationId}/switch/ports/profiles/networks/assignments")]
Task<OrganizationSwitchPortsProfilesNetworksAssignments> GetOrganizationSwitchPortsProfilesNetworksAssignments(string organizationId, CancellationToken cancellationToken = default)

Parameters

organizationId string
cancellationToken CancellationToken

Returns

Task<OrganizationSwitchPortsProfilesNetworksAssignments>

Exceptions

ApiException

Thrown when fails to make API call

GetOrganizationSwitchPortsProfilesOverviewByProfile(string, CancellationToken)

List the port profiles in an organization

[Get("/organizations/{organizationId}/switch/ports/profiles/overview/byProfile")]
Task<OrganizationSwitchPortsProfilesOverviewByProfile> GetOrganizationSwitchPortsProfilesOverviewByProfile(string organizationId, CancellationToken cancellationToken)

Parameters

organizationId string
cancellationToken CancellationToken

Returns

Task<OrganizationSwitchPortsProfilesOverviewByProfile>

Exceptions

ApiException

Thrown when fails to make API call

GetOrganizationSwitchPortsStatusesBySwitchAsync(string, string?, int?, int?, string?, string?, List<string>?, List<string>?, string?, string?, List<string>?, string?, List<string>?, string?, CancellationToken)

List the switchports in an organization

[Get("/organizations/{organizationId}/switch/ports/statuses/bySwitch")]
Task<List<SwitchPortsStatusesBySwitch>> GetOrganizationSwitchPortsStatusesBySwitchAsync(string organizationId, string? t0, int? timespan, int? perPage, string? startingAfter, string? endingBefore, List<string>? networkIds, List<string>? portProfileIds, string? name, string? mac, List<string>? macs, string? serial, List<string>? serials, string? configurationUpdatedAfter, CancellationToken cancellationToken = default)

Parameters

organizationId string

The organization id

t0 string

The beginning of the timespan for the data. The maximum lookback period is 31 days from today.

timespan int?

The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 31 days. The default is 1 day.

perPage int?

The number of entries per page returned. Acceptable range is 3 - 50. Default is 50

startingAfter string

A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

endingBefore string

A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

networkIds List<string>

Optional parameter to filter switchports by network.

portProfileIds List<string>

Optional parameter to filter switchports belonging to the specified port profiles

name string

Optional parameter to filter switchports belonging to switches by name. All returned switches will have a name that contains the search term or is an exact match.

mac string

Optional parameter to filter switchports belonging to switches by MAC address. All returned switches will have a MAC address that contains the search term or is an exact match.

macs List<string>

Optional parameter to filter switchports by one or more MAC addresses belonging to devices. All switchports returned belong to MAC addresses of switches that are an exact match.

serial string

Optional parameter to filter switchports belonging to switches by serial number. All returned switches will have a serial number that contains the search term or is an exact match.

serials List<string>

Optional parameter to filter switchports belonging to switches with one or more serial numbers. All switchports returned belong to serial numbers of switches that are an exact match.

configurationUpdatedAfter string

Optional parameter to filter results by switches where the configuration has been updated after the given timestamp

cancellationToken CancellationToken

Returns

Task<List<SwitchPortsStatusesBySwitch>>

Exceptions

ApiException

Thrown when fails to make API call

GetOrganizationSwitchPortsTopologyDiscoveryByDeviceAsync(string, string?, string?, int?, int?, int?, string?, string?, string?, string?, List<string>?, string?, List<string>?, List<string>?, string?, List<string>?, CancellationToken)

List most recently seen LLDP/CDP discovery and topology information per switch port in an organization.

[Get("/organizations/{organizationId}/switch/ports/usage/history/byDevice/byInterval")]
Task<SwitchPortsTopologyDiscoveryByDevice> GetOrganizationSwitchPortsTopologyDiscoveryByDeviceAsync(string organizationId, string? t0, string? t1, int? timespan, int? interval, int? perPage, string? startingAfter, string? endingBefore, string? configurationUpdatedAfter, string? mac, List<string>? macs, string? name, List<string>? networkIds, List<string>? portProfileIds, string? serial, List<string>? serials, CancellationToken cancellationToken = default)

Parameters

organizationId string

The OrganizationID

t0 string

The beginning of the timespan for the data. The maximum lookback period is 31 days from today.

t1 string
timespan int?

The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 31 days. The default is 1 day.

interval int?
perPage int?

The number of entries per page returned. Acceptable range is 3 - 20. Default is 10.

startingAfter string

A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

endingBefore string

A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

configurationUpdatedAfter string

Optional parameter to filter results by switches where the configuration has been updated after the given timestamp

mac string

Optional parameter to filter switchports belonging to switches by MAC address. All returned switches will have a MAC address that contains the search term or is an exact match.

macs List<string>

Optional parameter to filter items to switches that have one of the provided MAC addresses.

name string

Optional parameter to filter items to switches with names that contain the search term or are an exact match.

networkIds List<string>

Optional parameter to filter items to switches in one of the provided networks.

portProfileIds List<string>

Optional parameter to filter items to switches that contain switchports belonging to one of the specified port profiles.

serial string

Optional parameter to filter switchports belonging to switches by serial number. All returned switches will have a serial number that contains the search term or is an exact match.

serials List<string>

Optional parameter to filter switchports belonging to switches with one or more serial numbers. All switchports returned belong to serial numbers of switches that are an exact match.

cancellationToken CancellationToken

Returns

Task<SwitchPortsTopologyDiscoveryByDevice>

Exceptions

ApiException

Thrown when fails to make API call

GetOrganizationSwitchPortsTopologyDiscoveryByDeviceAsync(string, CancellationToken)

List most recently seen LLDP/CDP discovery and topology information per switch port in an organization.

[Get("/organizations/{organizationId}/switch/ports/topology/discovery/byDevice")]
Task<OrganizationSwitchPortsTopologyDiscoveryByDevice> GetOrganizationSwitchPortsTopologyDiscoveryByDeviceAsync(string organizationId, CancellationToken cancellationToken = default)

Parameters

organizationId string
cancellationToken CancellationToken

Returns

Task<OrganizationSwitchPortsTopologyDiscoveryByDevice>

Exceptions

ApiException

Thrown when fails to make API call

GetOrganizationSwitchPortsTransceiversReadingsHistoryBySwitchAsync(string, CancellationToken)

Return time-series digital optical monitoring (DOM) readings for ports on each DOM-enabled switch in an organization, in addition to thresholds for each relevant Small Form Factor Pluggable (SFP) module.

[Get("/organizations/{organizationId}/switch/ports/transceivers/readings/history/bySwitch")]
Task<OrganizationSwitchPortsTransceiversReadingsHistoryBySwitch> GetOrganizationSwitchPortsTransceiversReadingsHistoryBySwitchAsync(string organizationId, CancellationToken cancellationToken = default)

Parameters

organizationId string
cancellationToken CancellationToken

Returns

Task<OrganizationSwitchPortsTransceiversReadingsHistoryBySwitch>

Exceptions

ApiException

Thrown when fails to make API call

GetOrganizationSwitchPortsUsageHistoryByDeviceByIntervalAsync(string, string?, string?, int?, int?, int?, string?, string?, string?, string?, List<string>?, string?, List<string>?, List<string>?, string?, List<string>?, CancellationToken)

List the historical usage and traffic data of switchports in an organization.

[Get("/organizations/{organizationId}/switch/ports/usage/history/byDevice/byInterval")]
Task<SwitchPortsUsageHistoryByDeviceByInterval> GetOrganizationSwitchPortsUsageHistoryByDeviceByIntervalAsync(string organizationId, string? t0, string? t1, int? timespan, int? interval, int? perPage, string? startingAfter, string? endingBefore, string? configurationUpdatedAfter, string? mac, List<string>? macs, string? name, List<string>? networkIds, List<string>? portProfileIds, string? serial, List<string>? serials, CancellationToken cancellationToken = default)

Parameters

organizationId string

The OrganizationID

t0 string

The beginning of the timespan for the data. The maximum lookback period is 31 days from today.

t1 string

The end of the timespan for the data. t1 can be a maximum of 31 days after t0.

timespan int?

The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 1 day. If interval is provided, the timespan will be `calculated. maximum = 2678400

interval int?

The time interval in seconds for returned data. The valid intervals are: 300, 1200, 14400, 86400. The default is 1200. Interval is calculated if time params are provided.

perPage int?

The number of entries per page returned. Acceptable range is 3 - 50. Default is 50.

startingAfter string

A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

endingBefore string

A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

configurationUpdatedAfter string

Optional parameter to filter results by switches where the configuration has been updated after the given timestamp

mac string

Optional parameter to filter switchports belonging to switches by MAC address. All returned switches will have a MAC address that contains the search term or is an exact match.

macs List<string>

Optional parameter to filter items to switches that have one of the provided MAC addresses.

name string

Optional parameter to filter items to switches with names that contain the search term or are an exact match.

networkIds List<string>

Optional parameter to filter items to switches in one of the provided networks.

portProfileIds List<string>

Optional parameter to filter items to switches that contain switchports belonging to one of the specified port profiles.

serial string

Optional parameter to filter switchports belonging to switches by serial number. All returned switches will have a serial number that contains the search term or is an exact match.

serials List<string>

Optional parameter to filter switchports belonging to switches with one or more serial numbers. All switchports returned belong to serial numbers of switches that are an exact match.

cancellationToken CancellationToken

Returns

Task<SwitchPortsUsageHistoryByDeviceByInterval>

Exceptions

ApiException

Thrown when fails to make API call

GetOrganizationSwitchStacksPortsMirrorsByStackAsync(string, CancellationToken)

List the port mirror configurations in an organization by stack

[Get("/organizations/{organizationId}/switch/stacks/ports/mirrors/byStack")]
Task<List<OrganizationSwitchPortsMirrorsByStackResponseItem>> GetOrganizationSwitchStacksPortsMirrorsByStackAsync(string organizationId, CancellationToken cancellationToken = default)

Parameters

organizationId string
cancellationToken CancellationToken

Returns

Task<List<OrganizationSwitchPortsMirrorsByStackResponseItem>>

Exceptions

ApiException

Thrown when fails to make API call

UpdateOrganizationSwitchPortsProfileAsync(string, string, OrganizationSwitchPortsProfilesProfileUpdateRequest, CancellationToken)

Update a port profile in an organization

[Put("/organizations/{organizationId}/switch/ports/profiles/{id}")]
Task<OrganizationSwitchPortsProfilesProfileDetailed> UpdateOrganizationSwitchPortsProfileAsync(string organizationId, string id, OrganizationSwitchPortsProfilesProfileUpdateRequest organizationSwitchPortsProfilesProfile, CancellationToken cancellationToken = default)

Parameters

organizationId string
id string
organizationSwitchPortsProfilesProfile OrganizationSwitchPortsProfilesProfileUpdateRequest
cancellationToken CancellationToken

Returns

Task<OrganizationSwitchPortsProfilesProfileDetailed>

Exceptions

ApiException

Thrown when fails to make API call

UpdateOrganizationSwitchPortsProfilesAutomationAsync(string, string, OrganizationSwitchPortsProfileAutomationUpdateRequest, CancellationToken)

Update a port profile automation in an organization

[Put("/organizations/{organizationId}/switch/ports/profiles/automations/{id}")]
Task<OrganizationSwitchPortsProfileAutomationItem> UpdateOrganizationSwitchPortsProfilesAutomationAsync(string organizationId, string id, OrganizationSwitchPortsProfileAutomationUpdateRequest organizationSwitchPortsProfilesProfileAutomation, CancellationToken cancellationToken = default)

Parameters

organizationId string
id string
organizationSwitchPortsProfilesProfileAutomation OrganizationSwitchPortsProfileAutomationUpdateRequest
cancellationToken CancellationToken

Returns

Task<OrganizationSwitchPortsProfileAutomationItem>

Exceptions

ApiException

Thrown when fails to make API call