# Update Changelog

PUT /api/v2/projects/{projectId}/changelog

Updates the GitHub repository linked to the project's changelog. Omitted fields stay as they are.

## Request

- projectId: string, path, required — ID of the project whose changelog to update.
- changes: object, required — GitHub repository this changelog can draft entries from. Omitted fields stay as they are.
  - repoName: string — GitHub repository name. Null clears it.
  - repoOwner: string — GitHub owner or organization. Null clears it.

## Response

- 200: Successful response
  - createdAt: string, required
  - id: string, required
  - projectId: string, required
  - updatedAt: string, required
  - repoName: string
  - repoOwner: string
- 400: Invalid input data
- 401: Authorization not provided
- 403: Insufficient access
- 404: Not found
- 500: Internal server error
