NetBird Full API Reference + Read-Only MCP Prototype
GET/api/reverse-proxies/domains/{domainId}/validate

Validate a custom domain

Validates ownership of a custom domain for a reverse proxy service. Use domainId to identify the domain whose ownership you want to verify; a 204 response confirms validation.

1 parameter
domainIdstringrequired
The unique identifier of the custom domain whose ownership you want to validate.

7 status codes
204Returns no content when the custom domain has been validated.
400Returned when the request is invalid.
401Returned when authentication is required.
403Returned when access to the requested resource is forbidden.
404Returned when the custom domain is not found.
412Returned when the custom domain could not be validated.
500Returned when an internal server error occurs.

Error handling

A 400 indicates a bad request, a 401 indicates authentication is required, and a 403 indicates access is forbidden. A 404 means the custom domain was not found, a 412 means ownership validation failed, and a 500 indicates an internal server error. The domainId path parameter must identify the custom domain to validate.