meraki / dashboard-api-python

Official Dashboard API library (SDK) for Python
MIT License
293 stars 154 forks source link

Identity PSKs always return null for expiresAt field #213

Closed bootsie123 closed 1 year ago

bootsie123 commented 1 year ago

Hi! I've been working on a script to automate the creation of iPSKs and I noticed that the expiresAt option doesn't seem to be having an effect.

Using the following:

response = dashboard.wireless.createNetworkWirelessSsidIdentityPsk(
    network_id, number, name, group_policy_id, 
    passphrase='super_secret_passphrase', 
    expiresAt='2023-02-11T00:00:00Z'
)

I get:

{
    "id": "123456789",
    "name": "Test Identity PSK",
    "passphrase": "super_secret_passphrase",
    "groupPolicyId": "101",
    "expiresAt": null
}

I also tested this using the request tester on the API documentation website and got the same results. Is this option no longer supported? Thanks!

TKIPisalegacycipher commented 1 year ago

Hello @bootsie123, this does not seem to be an issue with the Python library. If the output is unexpected, please consult with Meraki support for a solution.