{ "opencollection": "1.0.0", "info": { "name": "Mist Admins MSPs Orgs API", "version": "2604.1.1" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "MSPs Orgs", "type": "folder" }, "items": [ { "info": { "name": "listMspOrgs", "type": "http" }, "http": { "method": "GET", "url": "https://api.mist.com/api/v1/msps/:msp_id/orgs", "params": [ { "name": "msp_id", "value": "", "type": "path" } ] }, "docs": "Get List of MSP Orgs" }, { "info": { "name": "createMspOrg", "type": "http" }, "http": { "method": "POST", "url": "https://api.mist.com/api/v1/msps/:msp_id/orgs", "params": [ { "name": "msp_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create an Org under MSP" }, { "info": { "name": "manageMspOrgs", "type": "http" }, "http": { "method": "PUT", "url": "https://api.mist.com/api/v1/msps/:msp_id/orgs", "params": [ { "name": "msp_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Assign or Unassign Orgs to an MSP account" }, { "info": { "name": "searchMspOrgs", "type": "http" }, "http": { "method": "GET", "url": "https://api.mist.com/api/v1/msps/:msp_id/orgs/search", "params": [ { "name": "msp_id", "value": "", "type": "path" }, { "name": "name", "value": "", "type": "query" }, { "name": "org_id", "value": "", "type": "query", "description": "Org id" }, { "name": "sub_insufficient", "value": "", "type": "query", "description": "If this org has sufficient subscription" }, { "name": "trial_enabled", "value": "", "type": "query", "description": "If this org is under trial period" }, { "name": "usage_types", "value": "", "type": "query", "description": "List of types that enabled by usage" }, { "name": "limit", "value": "", "type": "query" }, { "name": "sort", "value": "", "type": "query", "description": "On which field the list should be sorted, -prefix represents DESC order" }, { "name": "start", "value": "", "type": "query", "description": "Start time (epoch timestamp in seconds, or relative string like \"-1d\", \"-1w\")" }, { "name": "end", "value": "", "type": "query", "description": "End time (epoch timestamp in seconds, or relative string like \"-1d\", \"-2h\", \"now\")" }, { "name": "search_after", "value": "", "type": "query", "description": "Pagination cursor for retrieving subsequent pages of results. This value is automatically populated by Mist in the `next` URL from the previous response and should not be manually constructed." } ] }, "docs": "Search Org in MSP" }, { "info": { "name": "getMspOrg", "type": "http" }, "http": { "method": "GET", "url": "https://api.mist.com/api/v1/msps/:msp_id/orgs/:org_id", "params": [ { "name": "msp_id", "value": "", "type": "path" }, { "name": "org_id", "value": "", "type": "path" } ] }, "docs": "Get MSP Org Details" }, { "info": { "name": "updateMspOrg", "type": "http" }, "http": { "method": "PUT", "url": "https://api.mist.com/api/v1/msps/:msp_id/orgs/:org_id", "params": [ { "name": "msp_id", "value": "", "type": "path" }, { "name": "org_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update MSP Org" }, { "info": { "name": "deleteMspOrg", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.mist.com/api/v1/msps/:msp_id/orgs/:org_id", "params": [ { "name": "msp_id", "value": "", "type": "path" }, { "name": "org_id", "value": "", "type": "path" } ] }, "docs": "Delete MSP Org" }, { "info": { "name": "listMspOrgStats", "type": "http" }, "http": { "method": "GET", "url": "https://api.mist.com/api/v1/msps/:msp_id/stats/orgs", "params": [ { "name": "msp_id", "value": "", "type": "path" }, { "name": "limit", "value": "", "type": "query" }, { "name": "page", "value": "", "type": "query" } ] }, "docs": "Get List of MSP Orgs Stats" } ] } ], "bundled": true }