Test a connector

Prev Next

# Connector Test API

This endpoint is used to test the connectivity to a specified host and port. It allows users to verify if the service is reachable and operational.

Request

Method

POST

URL

https://{{base_url}}/zsa/api/v2/connectors/test

Request Body

The request body must be in JSON format and include the following parameters:

  • host (string): The IP address or hostname of the target service to connect to.

  • port (integer): The port number on which the target service is listening.

Example Request Body

{
  "host": "10.44.2.10",
  "port": 9999
}

Response

Status Code

204 No Content

Response Body

The response does not contain a body. A status code of 204 indicates that the request was successful, and there is no content to return.

Content-Type

text/xml

This API serves as a connectivity test, providing a straightforward way to ensure that the specified service is accessible.