Version 4.0.26.22 (latest)

Accepts the legal agreement for a given integration hub. This only works for integration hubs that have legal_agreement_required set to true and legal_agreement_signed set to false.

## Request

POST /integration_hubs/{integration_hub_id}/accept_legal_agreement Datatype Description Request HTTP Request path HTTP Path Expand HTTP Path definition... integration_hub_id string Id of integration_hub

## Response

### 200: Integration hub

Datatype Description (object) [IntegrationHub](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/IntegrationHub) can object Operations the current user is able to perform on this object id string ID of the hub. url string URL of the hub. label string Label of the hub. official boolean Whether this hub is a first-party integration hub operated by Looker. fetch_error_message string An error message, present if the integration hub metadata could not be fetched. If this is present, the integration hub is unusable. authorization_token string (Write-Only) An authorization key that will be sent to the integration hub on every request. has_authorization_token boolean Whether the authorization_token is set for the hub. legal_agreement_signed boolean Whether the legal agreement message has been signed by the user. This only matters if legal_agreement_required is true. legal_agreement_required boolean Whether the legal terms for the integration hub are required before use. legal_agreement_text string The legal agreement text for this integration hub.

### 400: Bad Request

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

### 404: Not Found

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

### 422: Validation Error

Datatype Description (object) [ValidationError](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/ValidationError) message string Error details errors [ValidationErrorDetail](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/ValidationErrorDetail)\[\] Expand ValidationErrorDetail definition... field string Field with error code string Error code message string Error info message documentation_url string Documentation link documentation_url string Documentation link

### 429: Too Many Requests

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link