---
title: "updateCoaching"
method: PUT
path: "/core/api/v1/coaching/{id}"
tags: ["coaching-controller"]
---

# updateCoaching

`PUT /core/api/v1/coaching/{id}`

## Request

- Base URL: `https://api.freshlearn.com`
- URL: `https://api.freshlearn.com/core/api/v1/coaching/{id}`
- Auth: none declared

## Path parameters

- `id` integer, required

## Headers

- `Authorization` string
- `domain` string
- `api-key` string

## Request body

- CoachingDTO
  - `availabilityScheduleId` integer
  - `bookingMode` 'BOOK_AHEAD' | 'SEQUENTIAL'
  - `bookingWindowDays` integer
  - `bufferAfterMinutes` integer
  - `bufferBeforeMinutes` integer
  - `cancellationWindowMinutes` integer
  - `coachName` string
  - `coachUserId` integer
  - `coachingPlan` CoachingPlanDTO
    - `coachingId` integer
    - `currency` string
    - `id` integer
    - `landingPageURL` string
    - `name` string
    - `price` number
    - `pricetype` 'FREE' | 'PAID'
    - `primary` boolean
    - `status` boolean
    - `strikeoutAmount` integer
    - `strikeoutPrice` boolean
  - `createdTime` integer
  - `customMeetingUrl` string
  - `defaultSessionDurationMinutes` integer
  - `description` string
  - `id` integer
  - `imageUrl` string
  - `location` string
  - `meetingType` 'ZOOM' | 'CUSTOM_LINK' | 'OFFLINE' | 'FRESHLEARN_VIDEO'
  - `minNoticeDays` integer
  - `minNoticeMinutes` integer
  - `noticeMode` 'ROLLING_HOURS' | 'CALENDAR_DAYS'
  - `orderIndex` integer
  - `participantCount` integer
  - `publicView` boolean
  - `sessionCount` integer
  - `startIncrementMinutes` integer
  - `status` 'DRAFT' | 'PUBLISH'
  - `title` string
  - `updatedTime` integer

## Response `200`

OK

## Other responses

- `201`: Created
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/freshlearn/apis/freshlearn-api.md) · [All operations](https://skmtc.dev/freshlearn/apis/freshlearn-api/llms.txt) · [OpenAPI document](https://skmtc.dev/freshlearn/apis/freshlearn-api/revisions/8a82ee14b586?raw)
