forked from meraki/dashboard-api-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsm.py
More file actions
31 lines (21 loc) · 844 Bytes
/
Copy pathsm.py
File metadata and controls
31 lines (21 loc) · 844 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
class ActionBatchSm(object):
def __init__(self):
super(ActionBatchSm, self).__init__()
def deleteNetworkSmUserAccessDevice(self, networkId: str, userAccessDeviceId: str):
"""
**Delete a User Access Device**
https://developer.cisco.com/meraki/api-v1/#!delete-network-sm-user-access-device
- networkId (string): (required)
- userAccessDeviceId (string): (required)
"""
metadata = {
'tags': ['sm', 'configure', 'userAccessDevices'],
'operation': 'deleteNetworkSmUserAccessDevice'
}
resource = f'/networks/{networkId}/sm/userAccessDevices/{userAccessDeviceId}'
action = {
"resource": resource,
"operation": "destroy",
"body": payload
}
return action