---
title: "Get Lwm2m Bootstrap SecurityInfo (getLwm2mBootstrapSecurityInfo)"
method: GET
path: "/api/lwm2m/deviceProfile/bootstrap/{isBootstrapServer}"
tags: ["lwm-2m-controller"]
---

# Get Lwm2m Bootstrap SecurityInfo (getLwm2mBootstrapSecurityInfo)

`GET /api/lwm2m/deviceProfile/bootstrap/{isBootstrapServer}`

Get the Lwm2m Bootstrap SecurityInfo object (of the current server) based on the provided isBootstrapServer parameter. If isBootstrapServer == true, get the parameters of the current Bootstrap Server. If isBootstrapServer == false, get the parameters of the current Lwm2m Server. Used for client settings when starting the client in Bootstrap mode. 

Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority.

## Path parameters

- `isBootstrapServer` boolean, required

## Response `200`

OK

- LwM2MServerSecurityConfigDefault
  - `shortServerId` integer — Server short Id. Used as link to associate server Object Instance. This identifier uniquely identifies each LwM2M Server configured for the LwM2M Client. This Resource MUST be set when the Bootstrap-Server Resource has a value of 'false'. The values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server.
  - `bootstrapServerIs` boolean — Is Bootstrap Server or Lwm2m Server. The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s). The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account. (*) The LwM2M client MUST have at least one LwM2M server account after completing the boot sequence specified.
  - `host` string — Host for 'No Security' mode
  - `port` integer — Port for Lwm2m Server: 'No Security' mode: Lwm2m Server or Bootstrap Server
  - `clientHoldOffTime` integer — Client Hold Off Time. The number of seconds to wait before initiating a Client Initiated Bootstrap once the LwM2M Client has determined it should initiate this bootstrap mode. (This information is relevant for use with a Bootstrap-Server only.)
  - `serverPublicKey` string — Server Public Key for 'Security' mode (DTLS): RPK or X509. Format: base64 encoded
  - `serverCertificate` string — Server Public Key for 'Security' mode (DTLS): X509. Format: base64 encoded
  - `bootstrapServerAccountTimeout` integer — Bootstrap Server Account Timeout (If the value is set to 0, or if this resource is not instantiated, the Bootstrap-Server Account lifetime is infinite.)
  - `lifetime` integer — Specify the lifetime of the registration in seconds.
  - `defaultMinPeriod` integer — The default value the LwM2M Client should use for the Minimum Period of an Observation in the absence of this parameter being included in an Observation. If this Resource doesn’t exist, the default value is 0.
  - `notifIfDisabled` boolean — If true, the LwM2M Client stores “Notify” operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored “Notify” operations to the Server. If false, the LwM2M Client discards all the “Notify” operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline. The default value is true.
  - `binding` string — This Resource defines the transport binding configured for the LwM2M Client. If the LwM2M Client supports the binding specified in this Resource, the LwM2M Client MUST use that transport for the Current Binding Mode.
  - `securityHost` string — Host for 'Security' mode (DTLS)
  - `securityPort` integer — Port for 'Security' mode (DTLS): Lwm2m Server or Bootstrap Server

---

[API](https://skmtc.net/thingsboard/apis/thingsboard-rest-api.md) · [All operations](https://skmtc.net/thingsboard/apis/thingsboard-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/thingsboard/thingsboard-rest-api/revisions/40169ccdec5c/schema)
