# Update course settings

`PATCH https://api.tentary.com/v1/course-settings`

Source: https://tentary.com/en/help/api/update-course-settings/
Area: Courses
MCP tool: `update_course_settings`. Changes data at once.

---

Settings for all courses of the account.

- `drip_release_hour`: the hour (0 to 23, in the time zone of the account) when lessons with release days or a release date unlock.

[`GET /v1/courses/{course_id}`](https://tentary.com/en/help/api/get-course-outline/) shows the hour and the time zone.

## Authorization

`Authorization: Bearer <API key>`

A personal API key (tnt_...). Create it in the Tentary app on the page AI & API.

## Request body

- `drip_release_hour` (integer, required): 0 = midnight (default), 9 = 9:00. Limits: min 0, max 23.

## Response

- `drip_release_hour` (object): Lessons with release days or a date unlock at this hour.
  - `hour` (integer): 0 to 23.
  - `time_zone` (string, can be null): The seller's time zone, like Europe/Berlin.
- `admin_url` (string<uri>): The page in the Tentary app.

## Example request

```bash
curl -X PATCH "https://api.tentary.com/v1/course-settings" \
  -H "Authorization: Bearer $TENTARY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "drip_release_hour": 7
}'
```

## Example response

```json
{
  "drip_release_hour": {
    "hour": 7,
    "time_zone": "Europe/Berlin"
  },
  "admin_url": "https://app.tentary.com/settings/courses"
}
```
