---
type: api
title: Accept terms and conditions
description: Accept Cloud Connected terms and conditions for an organization.
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-connect/operation/operation-accepttermsandconditions
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-connect/operation/operation-accepttermsandconditions
products:
  - Elastic Cloud Hosted
---

# Accept terms and conditions

- Server: `https://api.elastic-cloud.com`

## Paths

- `POST` `/api/v1/cloud-connected/organizations/{organization_id}/terms-and-conditions/_accept`

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/cloud-connect/authentication#apikey)

## Description

Accept Cloud Connected terms and conditions for an organization.

## Responses

#### `200`

Terms and Conditions were successfully accepted for an organization.

`application/json`

- `accepted` ({} TermsAndConditionsAccepted)
  details about accepted terms and conditions for an organization. Only present if the terms and conditions were accepted.
  - `accepted_at` (string)
    Date and time when the terms and conditions for an organization were accepted.
  - `accepted_by` (string)
    ID of the user.
#### `400`

Bad request

`application/json`

- `errors` ([] ErrorResponse)
  - `message` (string)
    A human-readable message of the error.
  - `code` (string)
    An identifier for this type of error.
#### `401`

Unauthorized

`application/json`

- `errors` ([] ErrorResponse)
  - `message` (string)
    A human-readable message of the error.
  - `code` (string)
    An identifier for this type of error.
#### `403`

Forbidden

`application/json`

- `errors` ([] ErrorResponse)
  - `message` (string)
    A human-readable message of the error.
  - `code` (string)
    An identifier for this type of error.
## Code Examples

#### Console

```console
POST /api/v1/cloud-connected/organizations/{organization_id}/terms-and-conditions/_accept
```

#### curl

```curl
curl -X POST "https://api.elastic-cloud.com/api/v1/cloud-connected/organizations/{organization_id}/terms-and-conditions/_accept"
```

