NetXMS Support Forum

English Support => General Support => Topic started by: [email protected] on May 06, 2025, 04:17:10 PM

Title: Rest API - Interface Unmanaged
Post by: [email protected] on May 06, 2025, 04:17:10 PM
Can I set the interface status to Unmanaged using the REST API? How? Thank you.
Title: Re: Rest API - Interface Unmanaged
Post by: Victor Kirhenshtein on May 07, 2025, 01:50:19 PM
In new REST API (the one loaded as server module) you can do POST on endpoint /v1/objects/{object-id}/set-managed where {object-id} is ID of interface object and content is JSON
{
   "managed":false
}

For old REST API (the one implemented as Java web app) request body will be the same but URL will look like /objects/{object-id}/set-managed

Best regards,
Victor
Title: Re: Rest API - Interface Unmanaged
Post by: [email protected] on May 12, 2025, 11:15:56 AM
I am using the version of the software package integration tool netxms-websvc-5.2.1.war. Where can I find documentation for the new REST API that is used as a module on the server? Thank you