Table of Contents

Class IOrganizationsLicensesExtensions

Namespace
Meraki.Api.Extensions
Assembly
Meraki.Api.dll
public static class IOrganizationsLicensesExtensions
Inheritance
IOrganizationsLicensesExtensions
Inherited Members

Methods

GetOrganizationLicensesAllAsync(IOrganizationsLicenses, string, string?, string?, string?, CancellationToken)

List the licenses for an organization

public static Task<List<OrganizationLicense>> GetOrganizationLicensesAllAsync(this IOrganizationsLicenses organizationsLicenses, string organizationId, string? deviceSerial = null, string? networkId = null, string? state = null, CancellationToken cancellationToken = default)

Parameters

organizationsLicenses IOrganizationsLicenses
organizationId string

The organization id

deviceSerial string

Filter the licenses to those assigned to a particular device (optional)

networkId string

Filter the licenses to those assigned in a particular network (optional)

state string

Filter the licenses to those in a particular state. Can be one of 'active', 'expired', 'expiring', 'unused', 'unusedActive' or 'recentlyQueued' (optional)

cancellationToken CancellationToken

Returns

Task<List<OrganizationLicense>>

Exceptions

ApiException

Thrown when fails to make API call