Skip to content

Commit 9ef1e3c

Browse files
committed
note v1 api activateOnResellerPlan is removed
1 parent 510e81b commit 9ef1e3c

File tree

2 files changed

+15
-99
lines changed

2 files changed

+15
-99
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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+
:::

public/swagger/v1.json

Lines changed: 4 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -2375,101 +2375,6 @@
23752375
"deprecated": false
23762376
}
23772377
},
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-
},
24732378
"/devices/{id}/deactivate": {
24742379
"get": {
24752380
"tags": [
@@ -4893,10 +4798,6 @@
48934798
"type": "number",
48944799
"format": ""
48954800
},
4896-
"resellerPlanId": {
4897-
"type": "number",
4898-
"format": ""
4899-
},
49004801
"btPasskey": {
49014802
"type": "number",
49024803
"format": ""
@@ -4913,6 +4814,10 @@
49134814
"type": "number",
49144815
"format": ""
49154816
},
4817+
"resellerPlanId": {
4818+
"type": "number",
4819+
"format": ""
4820+
},
49164821
"onoWhitelistId": {
49174822
"type": "number",
49184823
"format": ""

0 commit comments

Comments
 (0)