> ## Documentation Index
> Fetch the complete documentation index at: https://docs.runaether.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Sentry Link

> Update a Sentry project link

Updates an existing link between an Aether project and a Sentry project.

## Authentication

Requires a valid Bearer token. Requires an active Sentry connection.

## Path Parameters

<ParamField path="linkId" type="string" required>
  Link ID (UUID).
</ParamField>

## Request Body

<ParamField body="sentry_project_id" type="string">
  New Sentry project ID to link to.
</ParamField>

<RequestExample>
  ```json theme={null}
  {
    "sentry_project_id": "789012"
  }
  ```
</RequestExample>

## Response

Returns the updated link object.

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": "e5f6a7b8-9012-34ab-cdef-567890123def",
    "project_id": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
    "sentry_project_id": "789012",
    "sentry_project_slug": "other-app",
    "created_at": "2025-01-15T10:30:00Z"
  }
  ```
</ResponseExample>

## Errors

| Status | Description                             |
| ------ | --------------------------------------- |
| `400`  | Bad Request — invalid parameters        |
| `401`  | Unauthorized — missing or invalid token |
| `403`  | Forbidden — no Sentry connection        |
| `404`  | Not Found — link does not exist         |
