HTTP PATCH Method is not updating attributes

HTTP PATCH Method is not updating attributes

avatar

Hello,

We are using Remote Desktop Manager v2025.2.14.0.

I am working with some automations that leverage the API, and it appears as though the PATCH method does not work, despite receiving a HTTP 200 response back from the server.

Specifically, I am trying to change some attributes on an existing entry in our vault. I am sending a PATCH to this endpoint:

https://our-remote-desktop-manager.com/dps/api/v1/vault/{{vaultId}}/entry/{{entryId}}

And, I'm sending the following raw payload with the PATCH request:

{"name":"Test Device Name", "description" : "Test Description via API call"}

I receive an HTTP 200 back from RDM.. but when I go and check the vault, nothing has changed. If I look at the History section of the device entry in the RDM web interface, I do see the change event in the history.

Do you have any idea what the issue could be?

All Comments (4)

avatar

Hi,

Thanks for the details.

Quick admin note first, I moved this thread under our DVLS category so it lands in the right queue, since the endpoint you're hitting (/dps/api/v1/...) is served by Devolutions Server rather than the RDM client itself.

Before we dig into the PATCH behavior, you're on 2025.2.14.0 and I'd like you to update to the current extended maintenance build for the 2025.2 line first, then re-run the exact same call.

That channel carries rolled-up fixes for 2025.2 without moving you to a new feature release, and if this is something we've already addressed on the server side it will simply go away after the update.

You can grab the extended maintenance build and its release notes from your Devolutions customer portal.

Please retest once you're on that build and let me know whether the PATCH still returns 200 with a History entry but no persisted change. If it does, we'll go deeper from there.

Best regards,

Patrick Ouimet

avatar

Thank you, Patrick. We'll try to update and test again soon.

avatar

Hi @Patrick Ouimet, we've finally upgraded versions, and we're now running 2026.3.8.0.

I am still unable to get the PUT or PATCH methods working to change a field on an SSH entry. Before, the server was returning HTTP 200, even though nothing was being changed.

Now, the server is returning HTTP 422 Unprocessable Entity.

I get the following response from the server:

{
    "message": "the specified entry type is not supported on edit"
}

I am sending what appears to be the minimum viable payload (if I remove any of these keys, I get a response saying that the specific key I removed is required):

{
    "description": "Test Description via API",
    "name": "TEST DEVICE",
    "path": "Lab\\Testing",
    "tags": [],
    "data" : {}
}

I also verified with that the API key I'm using has R/W privileges, so I'm not sure what else I can try to do to get this working.

My main objective is to be able to programatically change the "host" field for entries as we are re-IP'ing equipment in our network in the near future.

avatar

Hello dalbrecht,

Thank you for upgrading and for the detailed test results.

The HTTP 422 response is expected on 2026.3.8.0, because that version of the public REST API does not allow PUT or PATCH on SSH Shell entries.

Devolutions Server 2026.3.14.0, released on November 11, adds PUT and PATCH support for SSH Shell entries, including the host field (ticket DVLS-15659, for internal reference only).

You can see the change in the release notes: https://devolutions.net/server/release-notes/

Once you are on 2026.3.14.0, I suggest a test on a single entry first:

  • Send a PATCH to the same endpoint with only the field you want to change, for example {"data": {"host": "10.0.0.10"}}.

  • If the PATCH asks for other required keys, send their current values unchanged, taken from a GET of the same entry.

  • Read the entry back with a GET and check that data.host shows the new value.

  • Open the entry in the web interface or in Remote Desktop Manager to confirm it was saved.

Since 2026.3.13.0, a GET on an entry also returns its host, so your script can check each change.

I would use PATCH rather than PUT for this, since PUT replaces the main fields and a wrong path value would move the entry.

This only covers SSH Shell entries, as SSH Tunnel and Port Forward entries still cannot be edited through the API.

If the re-IP work has to start before you can upgrade, let me know, and I will send you a PowerShell option that does not rely on the REST API.

Best regards,

Patrick Ouimet