Get the domain a host belongs to
GET/api/v1/Host/:id/Domain
Returns the Active Directory domain record for the host.
Permission required: Administrator role or application role. The session must have completed multifactor authentication.
Caution: The response can include domain connection details, such as the domain controller name and the ID of the service account used to connect.
Request
Responses
- 200
- 204
- 400
- 404
The domain record, including its domain configuration.
The host refers to a domain record that no longer exists, so the response has no body.
The domain could not be retrieved. Some errors return 500 instead.
No host exists with that ID or the host is marked as deleted, or the host is not a member of a domain.