POST /bsus/api/v1/servers/test-ssh - Adaptive Applications - BlueCat Gateway - 21.1.1

BlueCat Server Update Services Administration Guide

Locale
English
Product name
BlueCat Gateway
Version
21.1.1

Description

Tests the SSH connections to the DNS/DHCP Server.

Parameters

Name Description
body Location: body

Type: application/json

The body of the DNS/DHCP Server to test. The JSON body is as follows:
{
  "bam_id": "string",
  "management_ip": "string",
  "username": "string",
  "password": "string"
}
Parameters
  • bam_id—the ID of the Address Manager server that manages the DNS/DHCP Server.
  • management_ip—the IP address of the DNS/DHCP Server.
  • username—the username that will be used to authenticate with the DNS/DHCP Server.
  • password—the password that will be used to authenticate with the DNS/DHCP Server.

Responses

Status Description
Successful

Code: 200

Body:
{
  "status": "success"
}
Error

Code: 400

Body:
{
  "status": "fail"
}

Code: 500

Body:
{
  "error": <>
}

This can be caused when an unknown application error is encountered on the Server side. The API attempts to return additional details within the error parameter.