Class ByProjectKeyMeBusinessUnitsByIDHead

All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyMeBusinessUnitsByIDHead>, ErrorableTrait<ByProjectKeyMeBusinessUnitsByIDHead>, ClientRequestCommand<JsonNode>, CreateHttpRequestCommand, HttpRequestCommand<JsonNode>, RequestCommand<JsonNode>

Checks if a BusinessUnit exists for a given id. Returns a 200 OK status if the BusinessUnit exists and the Customer has access to it, or a ResourceNotFound error otherwise.



   CompletableFuture<ApiHttpResponse<com.fasterxml.jackson.databind.JsonNode>> result = apiRoot
            .withProjectKey("{projectKey}")
            .me()
            .businessUnits()
            .withId("{ID}")
            .head()
            .execute()