Skip to main content
Add a path parameter to target a specific resource within a collection instead of the whole collection. A path parameter is a variable element of a URL that identifies a specific resource. If an endpoint accepts a path parameter, you can use it to perform an action on that resource. The API Reference documentation shows whether an endpoint accepts a path parameter. The reference denotes a path parameter by a pair of braces { }. For example, the endpoint https://connectivity-eu-api.pelion.com/stock-orders/{orderId} accepts a path parameter called orderId. When you make an API call, replace the braces and the placeholder with an actual value. For example, to refer to an order with an orderId of 20, use: