APIs
Verify TCP and Kafka API hosts
Verify TCP and Kafka API hosts
Verify hosts before creating or updating a TCP or Kafka API.<br> This will check it is not already used by other APIs in the environment.<br> The result will indicate if the hosts are OK, and give the reason of the failure if they are not.
post/environments/{envId}/apis/_verify/hosts
Path parameters
envIdstring required
Id or Hrid (Human readable Id) of an environment.
Request body
Example request
{
"listenerType": "HTTP",
"hosts": [
"foo.example.com"
]
}Response
Result of the API hosts verification