openapi: 3.2.0 info: description: "KPN’s Low Power Long Range (LoRa) network service compliments existing 2G, 3G, 4G and LTE-M networks. It is based on the LoRaWAN protocol for Internet of Things (IoT). \n### Key highlights\n- **Sandbox:** Full-fledged capabilities.\n- **Security:** HTTPS, OAuth, Rate limiting.\n- **Versioning:** Supports version-less API, version tight. If no version is provided (in the header) it defaults to latest version. \n\n ---\n\n## [Source view](https://app.swaggerhub.com/apis/kpn/lora-device-management-kpn/)
[Documentation view](https://app.swaggerhub.com/apis-docs/kpn/lora-device-management-kpn/)\n---\n## [KPN Developer](https://developer.kpn.com/)
[Getting Started](https://developer.kpn.com/getting-started)\n---" version: v1.2 title: LoRa Device Management - KPN Device Security API contact: name: API Support email: api_developer@kpn.com url: https://developer.kpn.com/support termsOfService: https://developer.kpn.com/legal servers: - url: https://api-prd.kpn.com/data/lora/thingpark tags: - name: DeviceSecurity description: Device security operations provide the ability to manage AS keys and HSM groups for enhanced message encryption. paths: /hsmGroups: get: tags: - DeviceSecurity summary: Retrieves HSM groups description: Retrieves a list of HSM groups existing within authorized scopes. operationId: HSMgroupsretrieval security: - oauth2: [] parameters: - $ref: '#/components/parameters/api_version' - name: pageIndex in: query description: If set, enables pagination and returns only the 100 HSM groups of the specified page. First available page index is 1. style: form explode: true schema: type: integer format: int32 responses: 200: description: List of HSM groups retrieved successfully. headers: {} content: application/json: schema: type: array items: $ref: '#/components/schemas/HSMGroup' description: List of HSM groups retrieved successfully. example: - x-regga-type: sniplet id: hsmgroup-getall-as-subscriber title: HSM groups retrieval example with a SUBSCRIBER scope requestSniplet: headers: Authorization: Bearer data: '[ { "id": "HSM_JS-OPE.3", "name": "HSM_LABS_SIMU" } ]' 400: description: Bad Request content: application/json: schema: $ref: '#/components/schemas/error' 401: description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/error' 403: description: Forbidden content: application/json: schema: $ref: '#/components/schemas/error' 404: description: Not Found content: application/json: schema: $ref: '#/components/schemas/error' 429: description: Too many requests content: application/json: schema: $ref: '#/components/schemas/error' 500: description: Server error content: application/json: schema: $ref: '#/components/schemas/error' deprecated: false components: schemas: error: type: object properties: transactionId: type: string description: Transaction id of the the request title: Transaction ID status: type: string description: Status title: Status name: type: string description: Error name title: Error name message: type: string description: Error message title: Error message info: type: string description: Additional information about error title: Info HSMGroup: title: HSMGroup type: object properties: id: type: string description: Id of the HSM group.The HSM group is mandatory. name: type: string description: Name of the HSM group. description: Resource representing an HSM group managed by ThingPark. parameters: api_version: in: header name: api-version schema: type: string description: API Version. If no version is provided it defaults to latest version. required: false securitySchemes: oauth2: type: oauth2 flows: clientCredentials: tokenUrl: https://api-prd.kpn.com/oauth/client_credential/accesstoken?grant_type=client_credentials scopes: {} externalDocs: description: HTTP response headers url: https://developer.kpn.com/documentation-response-headers