# \#api

**URL:** https://hub.mender.io/tag/api/51.md

[Latest](https://hub.mender.io/latest.md) · [Categories](https://hub.mender.io/categories.md) · [Tags](https://hub.mender.io/tags.md)

---

## [API rate limits for bulk device deployment status queries](https://hub.mender.io/t/api-rate-limits-for-bulk-device-deployment-status-queries/8014)

<div class="topic-metadata">

**Author:** [@stere-marius](https://hub.mender.io/u/stere-marius)\
**Replies:** 4\
**Last updated:** [June 5, 2026, 10:22am UTC](https://hub.mender.io/t/api-rate-limits-for-bulk-device-deployment-status-queries/8014 "2026-06-05T10:22:08Z")

</div>

I need to retrieve deployment status for a large list of devices using the Mender API. Currently, I’m making individual calls to /api/management/v1/deployments/deployments/devices/{id} for each device, but I’m hitting th…

---

## [Can't delete releases with API due to unknown deployments](https://hub.mender.io/t/cant-delete-releases-with-api-due-to-unknown-deployments/8056)

<div class="topic-metadata">

**Author:** [@g.amaudric](https://hub.mender.io/u/g.amaudric)\
**Replies:** 5\
**Last updated:** [October 28, 2025, 9:19am UTC](https://hub.mender.io/t/cant-delete-releases-with-api-due-to-unknown-deployments/8056 "2025-10-28T09:19:42Z")

</div>

Hello, I’m trying to delete releases on mender side via API call. I endup with a 409 error due to linked active deployments: However on Mender UI (and API call) there is no deployments with these ids (note that …

---

## [Can auth\_requests be abused for flooding?](https://hub.mender.io/t/can-auth-requests-be-abused-for-flooding/8020)

<div class="topic-metadata">

**Author:** [@smart4energy](https://hub.mender.io/u/smart4energy)\
**Replies:** 0\
**Last updated:** [September 26, 2025, 7:34am UTC](https://hub.mender.io/t/can-auth-requests-be-abused-for-flooding/8020 "2025-09-26T07:34:02Z")

</div>

If an attacker knows our Mender auth URL, they could script thousands of auth\_requests and create mass pending devices. Is there a way to prevent or mitigate this kind of flooding without blocking legitimate devices?

---

## [Mender API List Device Inventories](https://hub.mender.io/t/mender-api-list-device-inventories/7988)

<div class="topic-metadata">

**Author:** [@pkgl](https://hub.mender.io/u/pkgl)\
**Replies:** 1\
**Last updated:** [September 4, 2025, 10:59pm UTC](https://hub.mender.io/t/mender-api-list-device-inventories/7988 "2025-09-04T22:59:39Z")

</div>

Hi, I’m currently in the process of rewriting the GitHub Action for deployments so that it can also deploy to dynamic groups from within an Action. While working on this, I noticed the following issue: From the endpo…

---

## [Management API - Incorrect link headers on /devauth/devices/search](https://hub.mender.io/t/management-api-incorrect-link-headers-on-devauth-devices-search/7846)

<div class="topic-metadata">

**Author:** [@nritter](https://hub.mender.io/u/nritter)\
**Replies:** 2\
**Last updated:** [June 24, 2025, 1:22pm UTC](https://hub.mender.io/t/management-api-incorrect-link-headers-on-devauth-devices-search/7846 "2025-06-24T13:22:10Z")

</div>

It seems the response headers received when making paginated requests to the device authentication endpoint at /v2/devauth/devices/search do not contain the appropriate links anymore. For instance a request on /v2/devau…

---

## [\-X DELETE returns 204; Client/Platform doesn't Update](https://hub.mender.io/t/x-delete-returns-204-client-platform-doesnt-update/7802)

<div class="topic-metadata">

**Author:** [@jj\_menderio](https://hub.mender.io/u/jj_menderio)\
**Replies:** 10\
**Last updated:** [June 10, 2025, 4:04pm UTC](https://hub.mender.io/t/x-delete-returns-204-client-platform-doesnt-update/7802 "2025-06-10T16:04:35Z")

</div>

Working with the API via Bash scripting. Using the following code to Dismiss (delete) a device local url="$BASE\_URL/api/management/v1/inventory/devices/$device\_id" local tmp\_response=$(mktemp) log "INFO" "Trying…

---

## [Why is check\_in\_time obtained via API much older than check in time shown on hub.mender.io?](https://hub.mender.io/t/why-is-check-in-time-obtained-via-api-much-older-than-check-in-time-shown-on-hub-mender-io/7798)

<div class="topic-metadata">

**Author:** [@hbruce](https://hub.mender.io/u/hbruce)\
**Replies:** 2\
**Last updated:** [June 2, 2025, 7:57pm UTC](https://hub.mender.io/t/why-is-check-in-time-obtained-via-api-much-older-than-check-in-time-shown-on-hub-mender-io/7798 "2025-06-02T19:57:20Z")

</div>

Our devices are configured to check for updates every 30 minutes. You can see this in the devices tab on hosted.mender.io web U/I where “Latest activity” is never more than 30 minutes ago unless device has communication …

---

## [\[Webhook\] Deployment status](https://hub.mender.io/t/webhook-deployment-status/7786)

<div class="topic-metadata">

**Author:** [@Cinso32](https://hub.mender.io/u/Cinso32)\
**Replies:** 1\
**Last updated:** [May 22, 2025, 2:47pm UTC](https://hub.mender.io/t/webhook-deployment-status/7786 "2025-05-22T14:47:16Z")

</div>

Hello, We are currently using the server side API to prepare deployments for devices and we are using webhook to keep track of inventory change and authorize equipment based on multiple information on our server. My qu…

---

## [Not able to receive the Device Authentication Token via Device API. signature verification failed](https://hub.mender.io/t/not-able-to-receive-the-device-authentication-token-via-device-api-signature-verification-failed/7705)

<div class="topic-metadata">

**Author:** [@grasshopper](https://hub.mender.io/u/grasshopper)\
**Replies:** 4\
**Last updated:** [May 5, 2025, 9:09am UTC](https://hub.mender.io/t/not-able-to-receive-the-device-authentication-token-via-device-api-signature-verification-failed/7705 "2025-05-05T09:09:13Z")

</div>

I am using hosted Mender with a virtual qemu device. I am calling the device authentication API endpoint and try to receive the Device Token as a response. curl \\ -H "Content-Type: application/json" \\ -H "X-MEN…

---

## [Application using API and best practices](https://hub.mender.io/t/application-using-api-and-best-practices/7734)

<div class="topic-metadata">

**Author:** [@Cinso32](https://hub.mender.io/u/Cinso32)\
**Replies:** 2\
**Last updated:** [April 17, 2025, 12:51pm UTC](https://hub.mender.io/t/application-using-api-and-best-practices/7734 "2025-04-17T12:51:24Z")

</div>

Greeting everyone, We are currently using Mender Professional plan with a server hosted on mender. On our side we have a tool hosted on AWS that will perform API calls to mender server for things such as monitoring and…

---

## [Webhooks for inventory and deployment changes](https://hub.mender.io/t/webhooks-for-inventory-and-deployment-changes/6864)

<div class="topic-metadata">

**Author:** [@vincent](https://hub.mender.io/u/vincent)\
**Replies:** 3\
**Last updated:** [February 19, 2025, 8:58am UTC](https://hub.mender.io/t/webhooks-for-inventory-and-deployment-changes/6864 "2025-02-19T08:58:19Z")

</div>

Hi, We’re using the mender management api to manage deployments from our own website. This works great! However, we would like to get updated on device inventory changes and deployment progress changes. The webhooks don…

---

## [Mender API v2](https://hub.mender.io/t/mender-api-v2/7339)

<div class="topic-metadata">

**Author:** [@stabl-gjn](https://hub.mender.io/u/stabl-gjn)\
**Replies:** 1\
**Last updated:** [November 21, 2024, 8:24am UTC](https://hub.mender.io/t/mender-api-v2/7339 "2024-11-21T08:24:50Z")

</div>

We are currently in the progress to integrate mender into our project and want to automate some aspects using the API and so far it has been a very nice experience. If stumbled upon the deployment API and its two versio…

---

## [Apply a deployment for a specific device](https://hub.mender.io/t/apply-a-deployment-for-a-specific-device/6944)

<div class="topic-metadata">

**Author:** [@mister\_kanister](https://hub.mender.io/u/mister_kanister)\
**Replies:** 0\
**Last updated:** [June 12, 2024, 3:02pm UTC](https://hub.mender.io/t/apply-a-deployment-for-a-specific-device/6944 "2024-06-12T15:02:57Z")

</div>

Good Day, Friends! For a task, I need to create a deployment for a specific device. To do that, I need the device ID that I will use to trigger a deployment for that device via API call. It comes to my attention only i…

---

## [Problems with Decommission device \[ UI / API \]](https://hub.mender.io/t/problems-with-decommission-device-ui-api/6773)

<div class="topic-metadata">

**Author:** [@caleb](https://hub.mender.io/u/caleb)\
**Replies:** 2\
**Last updated:** [April 30, 2024, 10:22pm UTC](https://hub.mender.io/t/problems-with-decommission-device-ui-api/6773 "2024-04-30T22:22:21Z")

</div>

Hello community, I encounter strange behavior when I try to decommission a device, create a pre-authorization of a device and interactions between them. I created a process where I make a call of the Mender API for a pr…

---

## [Device Inventory API: Search by tags](https://hub.mender.io/t/device-inventory-api-search-by-tags/6539)

<div class="topic-metadata">

**Author:** [@pyxlwuff](https://hub.mender.io/u/pyxlwuff)\
**Replies:** 2\
**Last updated:** [February 12, 2024, 11:00pm UTC](https://hub.mender.io/t/device-inventory-api-search-by-tags/6539 "2024-02-12T23:00:05Z")

</div>

Hi there, I’m trying to use the device inventory API on our self-hosted open source instance (https://example-instance/api/management/v1/inventory/devices?Tag=00999) to look for a device with a specific tag value, howev…

---

## [Accessing the Mender API with NodeJS - PAT version](https://hub.mender.io/t/accessing-the-mender-api-with-nodejs-pat-version/6494)

<div class="topic-metadata">

**Author:** [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Replies:** 0\
**Last updated:** [January 18, 2024, 1:22pm UTC](https://hub.mender.io/t/accessing-the-mender-api-with-nodejs-pat-version/6494 "2024-01-18T13:22:38Z")

</div>

Introduction The Mender backend follows an API first philosphy. This means all functionality is exposed through documented endpoints, and you are invited to use those to match and implement your custom flows. In this sh…

---

## [Accessing the Mender API with NodeJS - login version](https://hub.mender.io/t/accessing-the-mender-api-with-nodejs-login-version/6490)

<div class="topic-metadata">

**Author:** [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Replies:** 0\
**Last updated:** [January 17, 2024, 4:14pm UTC](https://hub.mender.io/t/accessing-the-mender-api-with-nodejs-login-version/6490 "2024-01-17T16:14:31Z")

</div>

Introduction The Mender backend follows an API first philosphy. This means all functionality is exposed through documented endpoints, and you are invited to use those to match and implement your custom flows. In this sh…

---

## [Device API Authentication request for receving JWT token always throwing 401 error](https://hub.mender.io/t/device-api-authentication-request-for-receving-jwt-token-always-throwing-401-error/6442)

<div class="topic-metadata">

**Author:** [@vimoxshah](https://hub.mender.io/u/vimoxshah)\
**Replies:** 22\
**Last updated:** [January 11, 2024, 1:45pm UTC](https://hub.mender.io/t/device-api-authentication-request-for-receving-jwt-token-always-throwing-401-error/6442 "2024-01-11T13:45:39Z")

</div>

I wanted to check Device APIs and when I tried auth\_request api for getting JWT token for a device, I am always getting the 401 unauthorized error. It would be great If I can get any help. curl --location 'https://hoste…

---

## [Remove tags from devices via API call](https://hub.mender.io/t/remove-tags-from-devices-via-api-call/6202)

<div class="topic-metadata">

**Author:** [@mister\_kanister](https://hub.mender.io/u/mister_kanister)\
**Replies:** 3\
**Last updated:** [January 9, 2024, 3:11pm UTC](https://hub.mender.io/t/remove-tags-from-devices-via-api-call/6202 "2024-01-09T15:11:36Z")

</div>

Hello Friends! I’m making some device management with Python. It came to my attention that there is no “Remove Tag” API endpoint option. Once applied tags to an device via API call, how do I remove them later on? Here…

---

## [Query Regarding Parameter of Mender API](https://hub.mender.io/t/query-regarding-parameter-of-mender-api/6435)

<div class="topic-metadata">

**Author:** [@AkshatVyas](https://hub.mender.io/u/AkshatVyas)\
**Replies:** 0\
**Last updated:** [January 3, 2024, 9:11am UTC](https://hub.mender.io/t/query-regarding-parameter-of-mender-api/6435 "2024-01-03T09:11:41Z")

</div>

Hi Team, I thought of using self-hosted mender APIs. I am clear with some of the APIs. I have some blockers with some of the parameters in the Mender API. Below are the APIs: Device Reject Authentication: https://h…

---

## [Cannot initiate password reset](https://hub.mender.io/t/cannot-initiate-password-reset/5342)

<div class="topic-metadata">

**Author:** [@koki](https://hub.mender.io/u/koki)\
**Replies:** 5\
**Last updated:** [December 12, 2023, 5:25am UTC](https://hub.mender.io/t/cannot-initiate-password-reset/5342 "2023-12-12T05:25:42Z")

</div>

Hello. I have installed Mender server version 3.4.0 using the helm chart. After creating some users from web UI, I tried to initiate password reset, but it failed with the following error. The password reset request c…

---

## [Mender Websocket Connection](https://hub.mender.io/t/mender-websocket-connection/6331)

<div class="topic-metadata">

**Author:** [@pyxlwuff](https://hub.mender.io/u/pyxlwuff)\
**Replies:** 1\
**Last updated:** [November 11, 2023, 7:54pm UTC](https://hub.mender.io/t/mender-websocket-connection/6331 "2023-11-11T19:54:10Z")

</div>

Hi there, I’ve noticed there’s an endpoint in the management api that lets you establish a direct connection with a device (/devices/{id}/connect) but i’m not too sure how to interface with it. I’ve been able to get some …

---

## [Assigning device to a group via API results in 404 error](https://hub.mender.io/t/assigning-device-to-a-group-via-api-results-in-404-error/5108)

<div class="topic-metadata">

**Author:** [@msaenger](https://hub.mender.io/u/msaenger)\
**Replies:** 2\
**Last updated:** [November 6, 2023, 3:52pm UTC](https://hub.mender.io/t/assigning-device-to-a-group-via-api-results-in-404-error/5108 "2023-11-06T15:52:43Z")

</div>

Hello all. I’m using Mender Professional and had a question regarding using the API (specifically this one https://docs.mender.io/api/#management-api-device-inventory-assign-group) to add an authorized device to a speci…

---

## [Using the Mender API: The Basics of the Management API](https://hub.mender.io/t/using-the-mender-api-the-basics-of-the-management-api/5562)

<div class="topic-metadata">

**Author:** [@karolina.beta](https://hub.mender.io/u/karolina.beta)\
**Replies:** 0\
**Last updated:** [January 18, 2023, 3:52pm UTC](https://hub.mender.io/t/using-the-mender-api-the-basics-of-the-management-api/5562 "2023-01-18T15:52:03Z")

</div>

Api icons created by DinosoftLabs - Flaticon Customer engineer Alan Martinovic explores the basics of using the Mender API - specifically the management API Mender was designed with easy integration into CI CD pipe…

---

## [API autentication with sso login](https://hub.mender.io/t/api-autentication-with-sso-login/3469)

<div class="topic-metadata">

**Author:** [@profff](https://hub.mender.io/u/profff)\
**Replies:** 8\
**Last updated:** [March 25, 2023, 3:57am UTC](https://hub.mender.io/t/api-autentication-with-sso-login/3469 "2023-03-25T03:57:57Z")

</div>

hi all I’m using my google account to get connected to mender UI I’m about to try to setup a pre-authorization process and try to get access to rest API but how can I do when using a google account when trying to get t…

---

## [Using API to create a deployment using artifact\_id](https://hub.mender.io/t/using-api-to-create-a-deployment-using-artifact-id/5579)

<div class="topic-metadata">

**Author:** [@llebris](https://hub.mender.io/u/llebris)\
**Replies:** 2\
**Last updated:** [February 1, 2023, 9:41am UTC](https://hub.mender.io/t/using-api-to-create-a-deployment-using-artifact-id/5579 "2023-02-01T09:41:23Z")

</div>

Hello, Is there a solution to create a deployment using an artifact\_id instead of artifact\_name ? llebris,

---

## [Using API to get artifact name](https://hub.mender.io/t/using-api-to-get-artifact-name/5104)

<div class="topic-metadata">

**Author:** [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Replies:** 8\
**Last updated:** [July 18, 2022, 8:42am UTC](https://hub.mender.io/t/using-api-to-get-artifact-name/5104 "2022-07-18T08:42:45Z")

</div>

I am trying to use the API (specifically api/devices/v2/deployments/device/deployments/next) to determine the name of any scheduled deployment. I’m doing this in a Download\_Enter state script so that my device users can …

---

## [Deployments v2 API does not take dependencies into account](https://hub.mender.io/t/deployments-v2-api-does-not-take-dependencies-into-account/5049)

<div class="topic-metadata">

**Author:** [@ro-main](https://hub.mender.io/u/ro-main)\
**Replies:** 2\
**Last updated:** [June 23, 2022, 5:09pm UTC](https://hub.mender.io/t/deployments-v2-api-does-not-take-dependencies-into-account/5049 "2022-06-23T17:09:15Z")

</div>

Hi, According to Deployment v2 API, it should return next update satisfying dependencies, but it seems to fail doing so. I created a deployment targeting a specific device with an artifact that declares a dependency: .…

---

## [How to authenticate to device API when using official mender client](https://hub.mender.io/t/how-to-authenticate-to-device-api-when-using-official-mender-client/4688)

<div class="topic-metadata">

**Author:** [@francoislefebvre](https://hub.mender.io/u/francoislefebvre)\
**Replies:** 1\
**Last updated:** [February 28, 2022, 6:43pm UTC](https://hub.mender.io/t/how-to-authenticate-to-device-api-when-using-official-mender-client/4688 "2022-02-28T18:43:36Z")

</div>

Hello, I am developing an application to manage update from the device. I intend to rely on mender client check-update command, but I would like to use the server-side device check-update API to check if there is an dep…

---

## [\[Feature request\] query API by Custom Identity](https://hub.mender.io/t/feature-request-query-api-by-custom-identity/1598)

<div class="topic-metadata">

**Author:** [@ster](https://hub.mender.io/u/ster)\
**Replies:** 4\
**Last updated:** [January 20, 2022, 6:04pm UTC](https://hub.mender.io/t/feature-request-query-api-by-custom-identity/1598 "2022-01-20T18:04:02Z")

</div>

Currently, Mender allows assigning every device a custom unique identifier (e.g. mac, SKU etc). However, current API does not allow to use this custom ID (for example, we use macs) to find devices, create deployments, et…

[Next page](https://hub.mender.io/tag/api/51.md?match_all_tags=true&page=1&tags%5B%5D=api)
