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
- organizationsLicensesIOrganizationsLicenses
- organizationIdstring
- The organization id 
- deviceSerialstring
- Filter the licenses to those assigned to a particular device (optional) 
- networkIdstring
- Filter the licenses to those assigned in a particular network (optional) 
- statestring
- Filter the licenses to those in a particular state. Can be one of 'active', 'expired', 'expiring', 'unused', 'unusedActive' or 'recentlyQueued' (optional) 
- cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
- Thrown when fails to make API call