File tree Expand file tree Collapse file tree 2 files changed +15
-99
lines changed Expand file tree Collapse file tree 2 files changed +15
-99
lines changed Original file line number Diff line number Diff line change
1
+ # Activate device on reseller plan
2
+
3
+ :::danger ⚠️ API Removed
4
+ This API has been removed as there is no longer a concept of "Reseller Plans" in the system.
5
+
6
+ You can see what plan is currently active on a device by using the [ ` GET /devices/{id}/plan ` endpoint.] ( /apis/v2/get-devices-id-plan )
7
+
8
+ You can modify that plan with the [ ` PUT /devices/{id}/plan ` endpoint] ( apis/v2/put-devices-id-plan ) .
9
+
10
+ There are various over v2 endpoints for interacting with these plans.
11
+ :::
Original file line number Diff line number Diff line change 2375
2375
"deprecated" : false
2376
2376
}
2377
2377
},
2378
- "/devices/{id}/activateOnResellerPlan" : {
2379
- "get" : {
2380
- "tags" : [
2381
- " device"
2382
- ],
2383
- "parameters" : [
2384
- {
2385
- "name" : " id" ,
2386
- "in" : " path" ,
2387
- "description" : " device id" ,
2388
- "required" : true ,
2389
- "schema" : {
2390
- "type" : " number" ,
2391
- "format" : " integer"
2392
- }
2393
- },
2394
- {
2395
- "name" : " resellerPlanId" ,
2396
- "in" : " query" ,
2397
- "required" : true ,
2398
- "schema" : {
2399
- "type" : " number" ,
2400
- "format" : " "
2401
- }
2402
- },
2403
- {
2404
- "name" : " expiry" ,
2405
- "in" : " query" ,
2406
- "required" : false ,
2407
- "schema" : {
2408
- "type" : " string" ,
2409
- "format" : " date-time"
2410
- }
2411
- }
2412
- ],
2413
- "responses" : {
2414
- "200" : {
2415
- "description" : " Request was successful" ,
2416
- "content" : {
2417
- "application/json" : {
2418
- "schema" : {
2419
- "type" : " object" ,
2420
- "properties" : {
2421
- "success" : {
2422
- "type" : " string"
2423
- }
2424
- }
2425
- }
2426
- },
2427
- "application/xml" : {
2428
- "schema" : {
2429
- "type" : " object" ,
2430
- "properties" : {
2431
- "success" : {
2432
- "type" : " string"
2433
- }
2434
- }
2435
- }
2436
- },
2437
- "text/xml" : {
2438
- "schema" : {
2439
- "type" : " object" ,
2440
- "properties" : {
2441
- "success" : {
2442
- "type" : " string"
2443
- }
2444
- }
2445
- }
2446
- },
2447
- "application/javascript" : {
2448
- "schema" : {
2449
- "type" : " object" ,
2450
- "properties" : {
2451
- "success" : {
2452
- "type" : " string"
2453
- }
2454
- }
2455
- }
2456
- },
2457
- "text/javascript" : {
2458
- "schema" : {
2459
- "type" : " object" ,
2460
- "properties" : {
2461
- "success" : {
2462
- "type" : " string"
2463
- }
2464
- }
2465
- }
2466
- }
2467
- }
2468
- }
2469
- },
2470
- "deprecated" : false
2471
- }
2472
- },
2473
2378
"/devices/{id}/deactivate" : {
2474
2379
"get" : {
2475
2380
"tags" : [
4893
4798
"type" : " number" ,
4894
4799
"format" : " "
4895
4800
},
4896
- "resellerPlanId" : {
4897
- "type" : " number" ,
4898
- "format" : " "
4899
- },
4900
4801
"btPasskey" : {
4901
4802
"type" : " number" ,
4902
4803
"format" : " "
4913
4814
"type" : " number" ,
4914
4815
"format" : " "
4915
4816
},
4817
+ "resellerPlanId" : {
4818
+ "type" : " number" ,
4819
+ "format" : " "
4820
+ },
4916
4821
"onoWhitelistId" : {
4917
4822
"type" : " number" ,
4918
4823
"format" : " "
You can’t perform that action at this time.
0 commit comments