# \#management-api

**URL:** https://hub.mender.io/tag/management-api/192.md

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

---

## [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 …

---

## [Trigger same deployment with APIs](https://hub.mender.io/t/trigger-same-deployment-with-apis/7519)

<div class="topic-metadata">

**Author:** [@vimoxshah](https://hub.mender.io/u/vimoxshah)\
**Replies:** 1\
**Last updated:** [February 5, 2025, 1:54am UTC](https://hub.mender.io/t/trigger-same-deployment-with-apis/7519 "2025-02-05T01:54:55Z")

</div>

How can I retrigger the same deployment multiple times without encountering the “Artifact already installed” message? Is there an API-based solution for this? One approach is to create two artifact versions and trigger …

---

## [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…

---

## [Getting random timeout issues while accessing hosted mender apis](https://hub.mender.io/t/getting-random-timeout-issues-while-accessing-hosted-mender-apis/6511)

<div class="topic-metadata">

**Author:** [@nareshtech20](https://hub.mender.io/u/nareshtech20)\
**Replies:** 2\
**Last updated:** [January 28, 2024, 8:05am UTC](https://hub.mender.io/t/getting-random-timeout-issues-while-accessing-hosted-mender-apis/6511 "2024-01-28T08:05:53Z")

</div>

Getting random timeout issues while accessing hosted mender apis, around 1 in 5 API requests are failing. ---------------------Error logs below ----------------- D1iS\_uwsn28wH1PD6tzO\_7UumzPgI1YZCBXl3oCfd3UjbcSLyh-TV4 …

---

## [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…

---

## [How do I get a list of unaccepted devices with API and then selectively accept those devices?](https://hub.mender.io/t/how-do-i-get-a-list-of-unaccepted-devices-with-api-and-then-selectively-accept-those-devices/6466)

<div class="topic-metadata">

**Author:** [@jflick](https://hub.mender.io/u/jflick)\
**Replies:** 1\
**Last updated:** [January 12, 2024, 8:22am UTC](https://hub.mender.io/t/how-do-i-get-a-list-of-unaccepted-devices-with-api-and-then-selectively-accept-those-devices/6466 "2024-01-12T08:22:51Z")

</div>

Looking through the Management section of Mender’s API. However, unable to find any clear documentation on how I could implement device approvals through their API.

---

## [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…

---

## [Add list of device IDs as a filter to the Search Device Inventories route](https://hub.mender.io/t/add-list-of-device-ids-as-a-filter-to-the-search-device-inventories-route/6327)

<div class="topic-metadata">

**Author:** [@k.kasper](https://hub.mender.io/u/k.kasper)\
**Replies:** 2\
**Last updated:** [November 9, 2023, 3:08pm UTC](https://hub.mender.io/t/add-list-of-device-ids-as-a-filter-to-the-search-device-inventories-route/6327 "2023-11-09T15:08:23Z")

</div>

Hello everyone, Currently I have the use case that I want to search for a device by ID and limit the response attributes. Unfortunately, there is currently (Mender 3.6) no Management API route to implement this use cas…

---

## [How to get a device by his mac](https://hub.mender.io/t/how-to-get-a-device-by-his-mac/5933)

<div class="topic-metadata">

**Author:** [@jflorimo](https://hub.mender.io/u/jflorimo)\
**Replies:** 1\
**Last updated:** [June 23, 2023, 8:46pm UTC](https://hub.mender.io/t/how-to-get-a-device-by-his-mac/5933 "2023-06-23T20:46:30Z")

</div>

How can i request the management api to get a device by his mac ?

---

## [How to obtain a JWT token by calling the Login end-point](https://hub.mender.io/t/how-to-obtain-a-jwt-token-by-calling-the-login-end-point/5064)

<div class="topic-metadata">

**Author:** [@jason](https://hub.mender.io/u/jason)\
**Replies:** 2\
**Last updated:** [January 18, 2023, 3:14pm UTC](https://hub.mender.io/t/how-to-obtain-a-jwt-token-by-calling-the-login-end-point/5064 "2023-01-18T15:14:19Z")

</div>

Hello, I am trying to evaluate functionality of management api with my trial hosted mender account. My first step is to generate personal access token from here: Mender And then use the following command to request a …

---

## [Admin Role required for mender-configure Management API](https://hub.mender.io/t/admin-role-required-for-mender-configure-management-api/4238)

<div class="topic-metadata">

**Author:** [@timo.baenziger](https://hub.mender.io/u/timo.baenziger)\
**Replies:** 0\
**Last updated:** [October 27, 2021, 10:35am UTC](https://hub.mender.io/t/admin-role-required-for-mender-configure-management-api/4238 "2021-10-27T10:35:47Z")

</div>

Hi There, we noticed that devices can only be configured by users with the admin role. This is very unfortunate, because the admin role also allows to manage other users. We use the configure API to push new configurati…

---

## [Finding the last deployment for a group using REST API](https://hub.mender.io/t/finding-the-last-deployment-for-a-group-using-rest-api/3814)

<div class="topic-metadata">

**Author:** [@teonaseverin](https://hub.mender.io/u/teonaseverin)\
**Replies:** 1\
**Last updated:** [June 30, 2021, 8:58pm UTC](https://hub.mender.io/t/finding-the-last-deployment-for-a-group-using-rest-api/3814 "2021-06-30T20:58:57Z")

</div>

Hi everyone, I am using a production server (v 2.6.1) and I am trying to automise some steps when it comes to accepting devices or creating deployments using the API. In this context, when I add a new device to a group…

---

## [Query "last connected" time via management api](https://hub.mender.io/t/query-last-connected-time-via-management-api/3797)

<div class="topic-metadata">

**Author:** [@mbheidebr](https://hub.mender.io/u/mbheidebr)\
**Replies:** 2\
**Last updated:** [June 26, 2021, 12:18am UTC](https://hub.mender.io/t/query-last-connected-time-via-management-api/3797 "2021-06-26T00:18:36Z")

</div>

Hello! I have a question/feature request: I would like to be able to query the “last connected timestamp” that is visible on the hosted mender website, is that possible? I see that there is a way to get the current conn…
