cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1654
Views
7
Helpful
4
Replies

Switch Ports Profiles API broken?

No matter how I try, I cannot make switch port profile API to work, it always returns 404 Not Found. Has it been deprecated?

Ref: https://developer.cisco.com/meraki/api-v1/get-network-switch-ports-profiles/


GET /api/v1/networks/***************/switch/ports/profiles HTTP/1.1
Accept: application/json
Authorization: Bearer ***************
User-Agent: PostmanRuntime/7.49.1
Postman-Token: 06ccd76c-748a-42fd-a795-0569111d09b8
Host: api.meraki.com
Accept-Encoding: gzip, deflate, br
Connection: keep-alive

HTTP/1.1 404 Not Found
Date: Thu, 11 Dec 2025 19:31:52 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
X-Frame-Options: sameorigin
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Robots-Tag: none
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
X-Request-Id: 9b7e042b6fc5f9b60ac7ae4c6a53d358
X-Runtime: 0.064642
Strict-Transport-Security: max-age=31536000; includeSubDomains
cf-cache-status: DYNAMIC
Content-Encoding: gzip
Server: cloudflare
CF-RAY: 9ac7679b19b21840-STL

Is there another way to create port profiles via the API?

Thanks.

1 Accepted Solution

Accepted Solutions

Ryan_Miles
Meraki Employee All-Star
Meraki Employee All-Star

Port Profiles were merged into the feature called SmartPorts.

https://documentation.meraki.com/Switching/MS_-_Switches/Design_and_Configure/Configuration_Guides/Port_and_VLAN_Configuration/SmartPorts

I'm on the road today and cannot currently test, but perhaps the call you need now lives under the smart ports section? I see several smart ports calls in the API Index.

image.png

View solution in original post

4 Replies 4

aleabrahao
Meraki Community All-Star
Meraki Community All-Star

I'm not sure but i think that Meraki does not support switch port profiles via API anymore.

Just Organization Config Template Switch Profile Port.

https://developer.cisco.com/meraki/api-v1/get-organization-config-template-switch-profile-port/

I am not a Cisco 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.

Thank you for the reply, it is confusing that you can still find unsupported/deprecated API details.

The Organization Config Template Switch Profile you are referencing doesn't seem to have a create (POST) API - Maybe with the "createOrganizationConfigTemplate" ? But I cannot a way to link that into a switch profile where I define my standard configuration for VLAN X.

Ryan_Miles
Meraki Employee All-Star
Meraki Employee All-Star

Port Profiles were merged into the feature called SmartPorts.

https://documentation.meraki.com/Switching/MS_-_Switches/Design_and_Configure/Configuration_Guides/Port_and_VLAN_Configuration/SmartPorts

I'm on the road today and cannot currently test, but perhaps the call you need now lives under the smart ports section? I see several smart ports calls in the API Index.

image.png

Smart Ports took me to the same API (https://developer.cisco.com/meraki/api-v1/get-network-switch-ports-profiles/) BUT one thing I missed is that it is an Early Access API and access to those must be enabled first.

After enabling the access for the Early Access API, I got the access I needed.

Thank you Ryan.