Skip to main content
Solved

Can you do a find/replace on SSH credentials using an API to ensure the correct username/password is used across multiple tenants

  • August 27, 2026
  • 1 reply
  • 41 views

Can you do a find/replace on SSH credentials using a Netbrain API to ensure the correct username/password is used across multiple tenants and delete any old accounts?

Credentials are usually stored under Domain Management > Network Settings > SSH/Telnet settings

Best answer by Michael Ye

Hi John,

Please refer to the following APIs to get network settings and update network setting’s parameters.

NetBrain-REST-API-R12.3/REST APIs Documentation/Network Setting/Get All Network Settings.md at main · NetBrainAPI/NetBrain-REST-API-R12.3 · GitHub

Note: No username and password can be retrieved via API for security reason. 

NetBrain-REST-API-R12.3/REST APIs Documentation/Network Setting/Update CLI Login Credential API.md at main · NetBrainAPI/NetBrain-REST-API-R12.3 · GitHub

You can use this API to specify a working domain. or adding tenant /domain id in header.

NetBrain-REST-API-R12.3/REST APIs Documentation/Authentication and Authorization/Specify A Working Domain API.md at main · NetBrainAPI/NetBrain-REST-API-R12.3 · GitHub

Thanks,

Michael

 

1 reply

Forum|alt.badge.img
  • Inspiring
  • Answer
  • August 28, 2026