Improvement to objects lifecycle with Devolutions Server REST APIs
3 votes
Hi,
I send this feature request as part of our ongoing evaluation of a potential migration to Devolutions Server. Being able to manage the full lifecycle of our vault entries programmatically through the REST API, rather than the PowerShell module, is an important aspect of this evaluation.
I would like to request support for creating and fully managing connection/session objects through the REST API, in addition to Username/Password credentials.
Based on our recent tests, we can already do the following through REST API v1:
Create, read, update, move and delete folders
Create, read, update and delete Username/Password Credential objects
List and filter vault entries with pagination
Rotate Web and RDP secrets by PATCHing the linked Credential object
However, creating the actual connection/session entries is not possible through the public REST API.
POST /api/v1/vault/{vaultId}/entry returns HTTP 422 for these entry types:
RDPConfigured
WebBrowser
AWS (AWS Dashboard)
DataReport
RDPConfigured and WebBrowser appear in GET /api/v1/entry/definition, so we expected them to be creatable via REST. AWS and DataReport do not appear in that definition at all.
Support confirmed that REST API v1 is currently designed around Username/Password credential management, and that session creation requires the PowerShell module. Because of this, provisioning new sessions still requires PowerShell even when folders and credentials can already be created via REST.
A related gap is linking: we cannot set CredentialConnectionID / CredentialConnectionSavedPath through REST when creating or updating a Web or RDP entry. Linking a connection to an existing Credential object currently requires PowerShell.
Ideally, REST API v1 would support:
POST (create) for RDPConfigured, WebBrowser, AWS and DataReport entries
The ability to set/update the linked Credential reference (CredentialConnectionID) on RDP and WebBrowser entries via REST
PATCH of connection metadata for those same entry types (host, URL and other non-secret properties)
Inclusion of AWS and DataReport in GET /api/v1/entry/definition, consistent with the types we can already list
This would allow us to onboard and maintain new objects entirely through REST, instead of mixing REST for folders/credentials with PowerShell import for sessions.
The switch to REST API is especially important for our use case, as we need these operations to be automated consistently through an external integration. REST would make these flows faster and more consistent than invoking the PowerShell module for every new object.
I believe this would be a valuable addition, particularly for environments where vault entry lifecycle management needs to be integrated with external automation and API-based workflows.
Thanks!
Hello,
Creating RDPConfigured and WebBrowser entries through POST /api/v1/vault/{vaultId}/entry is supported since DVLS 2025.3, along with PUT and PATCH. If you are getting a 422 on those two types, please confirm your server version, and make sure you do not send a subType for them (it must be omitted). PATCH for metadata (name, description, path, tags) also works.
The remaining gaps you listed are real, and we have opened an internal improvement ticket to address them. We will update this thread when there is progress.
Best regards,
Sébastien Aubin
Product manager - Password Management
Hi,
Just wanted to follow up on this feature request and see if there are any updates regarding the ticket that was opened.
Thanks!
Hi,
could you provide any updates regarding the ticket opened for this feature request?
Thanks!
Hi, i've updated the priority of this ticket. We'll let you know as soon as it's available.
Best regards,
Sébastien Aubin
Product manager - Password Management
Hi,
Thanks for your patience, and sorry for the delay. I dug into this in detail and split your request into two tickets.
1. Fixes for RDPConfigured and WebBrowser entries (done)
While testing, I found that part of my previous answer was wrong, and I apologize for that:
- Omitting subType on POST /api/v1/vault/{vaultId}/entry returned 422 for RDPConfigured and WebBrowser entries, which was the opposite of what I told you.
- host/port (RDP) and url (Web) sent in data were silently ignored: the call succeeded, but the values were not saved or returned.
- PUT/PATCH on WebBrowser entries returned 422, including for entries created in RDM.
All three are fixed. With the fix:
- subType can be omitted.
- host, port and url can be set with POST, PUT and PATCH, are returned by GET, and appear in GET /api/v1/entry/definition.
- For WebBrowser entries, subType can name the browser (for example Edge).
The fix will be included in an upcoming DVLS release. Until then, you can create RDP and Web entries by sending "subType": "" explicitly, but host and URL can't be set through the API yet.
2. The rest of your request (in development)
The second ticket covers:
- setting and changing the linked credential (credentialConnectionId) on session entries, with validation of the referenced credential and your permissions on it;
- creating Aws and DataReport entries through the API, and adding them to GET /api/v1/entry/definition.
This part is larger because it touches credential links and secret handling, so it goes through a security review. I'll update this thread when it's available.
Thanks again for the detailed report. It helped us find these issues.
Best regards,
Sébastien Aubin
Product manager - Password Management
Hi,
Thanks again for the detailed request. Part of it is now available in Devolutions Server 2026.3.13.0:
- RDPConfigured and WebBrowser entries can now be created with POST without passing a subType. Previously, leaving it out returned a 422.
- PUT and PATCH now work on WebBrowser entries.
- host and port (RDP) and url (WebBrowser) can now be set with POST, PUT and PATCH. They are also returned by GET and listed in /api/v1/entry/definition.
This also corrects our earlier reply: before this version, omitting subType failed, and PATCH did not actually update host or URL.
The rest of your request isn't in this release: setting the linked credential (CredentialConnectionID) through the API, and support for the AWS and DataReport entry types. These need more work, including a security review, and should come in an upcoming version. We'll update this thread when they're available.
Best regards,
Sébastien Aubin
Product manager - Password Management
Hi @Sébastien Aubin,
Thank you for the implementation of these features and for the detailed update, it is really appreciated.
We look forward to the implementation of the remaining features (the ability to set the linked credential (CredentialConnectionID) through the API, and support for the AWS and DataReport entry types), as these are essential for us to complete the migration to Devolutions Server.
Thanks again for your support, we look forward to further updates.
Hi, the remaining feature will be available in the next minor release of DVLS.
Best regards,
Sébastien Aubin
Product manager - Password Management
Hi,
I tested the changes on DVLS 2027.1.1.0 beta and am sharing the results below.
Changelog entries tested
DVLS 2026.3.13.0 (November 3, 2026), Improvements: improved public API for RDP (configured) and Website entries (create without a sub type, update with PUT/PATCH, set host, port and URL). Also host and port added to entries returned by the public API. https://devolutions.net/server/release-notes/#v2026.3.13.0
DVLS 2027.1.1.0 beta (November 17, 2026), Improvements: credential links and AWS and Data report entries added to the public API. Same version, New features: the Linked credential modes are consolidated into a single Linked option, with links across vaults. https://devolutions.net/server/release-notes/beta/#v2027.1.1.0
Test environment
Devolutions Server 2027.1.1.0 beta, a dedicated test instance with a test vault
Remote Desktop Manager 2027.1.1.0 beta (Windows, portable), connected only to that test instance
Devolutions.PowerShell 2027.1.0-beta1 (Get-DSEntry), to check what the server stores
REST API v1, logged in with an application identity (POST /api/v1/login) that has full rights on one vault
Prefer: errors=contract header to get the structured error bodies
Status of the items from the original request
POST for RDPConfigured, WebBrowser, AWS and DataReport: works
RDPConfigured without subType, with host, port: 201, and both values are returned by GET.
WebBrowser without subType, with url: 201. The sub type defaults to Default, and a browser sub type (e.g. GoogleChrome) is also accepted.
Aws (authenticationType, defaultRegion, accessKeyId, secretAccessKey): 201.
DataReport (dataProviderType, dataSourceType, connectionString, query, …): 201. Invalid provider or source values get a 400 that lists the allowed values.
Set/update the linked credential on RDP and WebBrowser: works
data.credentialMode = "Linked" + data.credentialEntryId on POST (201), PATCH (200) and PUT (200).
GET returns both fields, and Get-DSEntry shows the same credentialConnectionId.
Rotation: PATCH of the password on the linked Credential entry (200) is returned by GET …?includePasswords=true on the linked RDP and WebBrowser entries.
PATCH of connection metadata: works
host, port, url, name, description and tags all return 200 and the values are stored.
PUT on WebBrowser and DataReport returns 200. Note: PUT returns 400 when description or tags are missing ("use empty string/array if none").
AWS and DataReport in GET /api/v1/entry/definition: works. Both types are listed.
What still does not work, or works only partially
No credential link for AWS entries. RDM 2027.1.0.0 added credential support to AWS Console entries, but the public API doesn't expose that link:
In GET /api/v1/entry/definition, Aws has accessKeyId, authenticationType, defaultRegion, secretAccessKey and the sso* fields, but no credentialEntryId / credentialMode.
POST of an Aws entry with data.credentialMode = "Linked" and data.credentialEntryId = <credential id> returns 201, but no link is stored. PATCH and PUT with the same fields return 200, and no link is stored either. Get-DSEntry on these entries returns resolvedCredentialConnectionId = the entry's own id, with no source mode.
If the link is set in RDM 2027.1 (Credentials = Linked), Get-DSEntry shows it (resolvedCredentialConnectionId = the credential, source mode 1), but REST doesn't: GET …/entry/{id} has no link field, and GET …/entry/{id}?property=credentialEntryId returns 204.
Expected: the same credentialEntryId / credentialMode fields as RDPConfigured and WebBrowser, readable and writable on Aws entries.
A nonexistent credential id is accepted.
POST (RDPConfigured) with credentialMode = "Linked" and a credentialEntryId that doesn't exist returns 201, and the entry is created without a link (credentialMode = "Custom").
PATCH on an already linked entry with a nonexistent credentialEntryId, or with the entry's own id, returns 200, and the change is ignored (the previous link stays).
The other invalid values are rejected correctly, with a clear 400 message: a malformed id, a folder id, a non-credential entry, an entry that itself uses a linked credential, an unknown credentialMode, and Linked without an id when the entry has none.
Expected: a 4xx error for a nonexistent or self-referencing credential id too.
Unknown fields are ignored without an error. EntryDTOPost / EntryDTOPatch declare additionalProperties: false, but unknown top-level fields and unknown keys in data return 201/200 and are ignored. Because of this, the AWS link fields in point 1 look accepted when they aren't. A 400 for unknown fields would make these cases visible.
Custom fields are read-only. GET returns data.customFields, for example on entries created in RDM. Writing data.customFields with POST or PATCH returns 200, but nothing is stored. A PATCH of other fields keeps the existing custom fields. This wasn't part of the original request, but is it planned? We need this functionality to create complete entries through the API, I can open a separate feature request if needed.
Deleting a credential that is still linked. DELETE of a Credential entry that is linked from an RDP/WebBrowser entry returns 200 with no warning, and the linked entry keeps credentialMode = "Linked" with the id of the deleted credential. Is this expected? A warning or a conflict status, or a way to list the entries that reference a credential through the API, would help avoid broken links.
Thanks!
Hi,
I just wanted to follow up on my message from last Friday and ask if you've had a chance to review it.
Thanks for your time and support!
Hi,
Sorry for the delay in getting back to you. Your report needed a proper look in the code before I could answer each point. Thank you for testing it so thoroughly: it made the issues easy to reproduce.
1. Credential link on Aws entries. Fixed. credentialEntryId and credentialMode are now listed for Aws in GET /api/v1/entry/definition. You can set, change or remove them with POST, PUT and PATCH, and GET returns a link made in RDM. It will be in Devolutions Server 2027.2.0.0, and also in 2027.1.3.0 and 2026.3.16.0.
2. A nonexistent credentialEntryId was accepted. Confirmed, and fixed. When the server could not find the target, it silently kept the previous link instead of rejecting the request. That is why you got a 201 with no link, or a 200 that ignored the change. It now returns a 400 on credentialEntryId that gives the reason:
• the entry does not exist,
• it is the entry itself,
• it is not a credential entry,
• or it is in a vault this entry cannot link to.
This applies to POST, PUT and PATCH.
3. Unknown keys in data were ignored. You are right: this is what hid the Aws issue. A key in data that the entry type does not define will now return a 400 that names the field (data.<key>). Read-only keys returned by GET, including customFields, are still accepted, so sending a GET body back with PUT keeps working. Unknown top-level fields are unchanged for now, so that existing clients don't break.
Points 2 and 3 will ship in an upcoming release. I'll post the version here once it's out.
4. Writable customFields and 5. Deleting a credential that is still linked. Thanks for the offer, but no need to open separate requests: I've logged both as one improvement. For point 5, we are looking at either a conflict response with an explicit force option, or an endpoint that lists the entries referencing a credential. The listing will be limited to the entries you can see.
One more thing for your tests: the Prefer: errors=contract header came from a REST API extension that we scaled back to the v1 scope. It won't be in upcoming versions, and errors will use the standard v1 format.
Best regards,
Sébastien Aubin
Product manager - Password Management
Hi, Here is where we landed on your report. All of these changes ship in Devolutions Server 2027.1.3.
Aws entries: credentialEntryId and credentialMode are listed in GET /api/v1/entry/definition. You can set, change or remove them with POST, PUT and PATCH, and GET returns a link made in RDM.
Invalid credentialEntryId: an id that doesn't exist, or the entry's own id, now returns a 400 on credentialEntryId with the reason, instead of a 201/200 that saves nothing. This applies to POST, PUT and PATCH, and the stored link stays unchanged.
Unknown keys in data: a key the entry type does not define now returns a 400 that names the field (data.<key>). Keys are checked against the exact type and subtype: for example, apiKey on an AccessCode credential is refused. Read-only keys returned by GET are still accepted, so sending a GET body back with PUT keeps working. Unknown top-level fields are not checked.
Writable customFields: POST, PUT and PATCH now save data.customFields, using the same shape GET returns (title, value, position 1-5, sensitive).
POST and PUT replace the whole set: a position you don't send is cleared.
PATCH changes only the positions you send.
Hidden fields are stored encrypted. A PUT keeps a hidden field it doesn't send, because GET without includeSensitiveData doesn't return it. To make a hidden field visible, send its value.
Positions 6 and up (additional custom fields) are read-only. You can send them back unchanged; a change returns a 400.
Deleting a credential that is still linked: DELETE behaves as today by default. A new optional parameter, DELETE …/entry/{id}?failIfLinked=true, refuses the deletion with a 409 when other entries still use the credential. The response lists the ids of the linked entries you can see (linkedEntryIds) and the number of those you can't (hiddenLinkedEntryCount). We made it optional because finding the linked entries means checking every entry, which can take time on a large database. Only callers who ask for the check pay that cost.
As mentioned in my previous message, the Prefer: errors=contract header won't be in this version. Errors use the standard v1 format.
Thank you again for the detailed testing. It directly shaped these changes.
Best regards,
Sébastien Aubin
Product manager - Password Management