Configuring Port Management Privileges via the Meraki API is not directly supported. This functionality is primarily available through the Meraki Dashboard.
If you need to manage user roles and permissions, you can use the API to handle organization-level administrators and SAML roles, but specific port management privileges are not exposed via the API at this time.
I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.
Please, if this post was useful, leave your kudos and mark it as solved.