---
title: "Update"
method: PATCH
path: "/api/v1/golinks/{id}"
tags: ["Short Links"]
---

# Update

`PATCH /api/v1/golinks/{id}`

## Request

- Base URL: `https://example.conductor.one`
- URL: `https://example.conductor.one/api/v1/golinks/{id}`
- Auth: HTTP bearer and OAuth 2
  - Client credentials
  - Token URL: `/auth/v1/token`

Update a GoLink. Caller must be the owner.

## Path parameters

- `id` string, required: The id field.

## Request body

- C1ApiGolinkV1GoLinkServiceUpdateRequestInput: The GoLinkServiceUpdateRequest message.
  - `golink` C1ApiGolinkV1GoLink: GoLink is the API representation of a short link.
    - `createdAt` string, date-time, nullable
    - `currentVersion` integer: The currentVersion field.
    - `deletedAt` string, date-time, nullable
    - `description` string: The description field.
    - `displayName` string: The displayName field.
    - `id` string: The id field.
    - `prerequisite` C1ApiGolinkV1GoLinkPrerequisite: The GoLinkPrerequisite message.
      - `appEntitlementId` string: The appEntitlementId field.
      - `appId` string: The appId field.
    - `routes` C1ApiGolinkV1GoLinkRouteConfig[], nullable: The routes field.
      - `isCanonical` boolean: The isCanonical field.
      - `routeTemplate` string: The route template with optional named parameters. Exact routes: "jira", "jira/create" Glob routes: "jira/{ticket_id}", "aws/{path}"
    - `status` 'GO_LINK_STATUS_UNSPECIFIED' | 'GO_LINK_STATUS_ENABLED' | 'GO_LINK_STATUS_DISABLED': The status field.
    - `target` C1ApiGolinkV1GoLinkTarget: The GoLinkTarget message. This message contains a oneof named target. Only a single field of the following list may be set at a time: - redirect - action - chooser
      - `action` C1ApiGolinkV1GoLinkActionTarget: The GoLinkActionTarget message.
        - `actionId` string: The actionId field.
      - `chooser` C1ApiGolinkV1GoLinkChooserTarget: The GoLinkChooserTarget message.
        - `options` C1ApiGolinkV1GoLinkChooserOption[], nullable: The options field.
          - `description` string: The description field.
          - `label` string: The label field.
          - `target` C1ApiGolinkV1GoLinkTarget (recursive)
      - `redirect` C1ApiGolinkV1GoLinkRedirectTarget: The GoLinkRedirectTarget message.
        - `urlTemplate` string: URL template with named placeholders matching route parameters. e.g., "https://jira.internal/browse/{ticket_id}"
    - `updatedAt` string, date-time, nullable
  - `updateMask` string, nullable

## Response `200`

Successful response

- C1ApiGolinkV1GoLinkServiceUpdateResponse: The GoLinkServiceUpdateResponse message.
  - `golink` C1ApiGolinkV1GoLink: GoLink is the API representation of a short link.
    - `createdAt` string, date-time, nullable
    - `currentVersion` integer: The currentVersion field.
    - `deletedAt` string, date-time, nullable
    - `description` string: The description field.
    - `displayName` string: The displayName field.
    - `id` string: The id field.
    - `prerequisite` C1ApiGolinkV1GoLinkPrerequisite: The GoLinkPrerequisite message.
      - `appEntitlementId` string: The appEntitlementId field.
      - `appId` string: The appId field.
    - `routes` C1ApiGolinkV1GoLinkRouteConfig[], nullable: The routes field.
      - `isCanonical` boolean: The isCanonical field.
      - `routeTemplate` string: The route template with optional named parameters. Exact routes: "jira", "jira/create" Glob routes: "jira/{ticket_id}", "aws/{path}"
    - `status` 'GO_LINK_STATUS_UNSPECIFIED' | 'GO_LINK_STATUS_ENABLED' | 'GO_LINK_STATUS_DISABLED': The status field.
    - `target` C1ApiGolinkV1GoLinkTarget: The GoLinkTarget message. This message contains a oneof named target. Only a single field of the following list may be set at a time: - redirect - action - chooser
      - `action` C1ApiGolinkV1GoLinkActionTarget: The GoLinkActionTarget message.
        - `actionId` string: The actionId field.
      - `chooser` C1ApiGolinkV1GoLinkChooserTarget: The GoLinkChooserTarget message.
        - `options` C1ApiGolinkV1GoLinkChooserOption[], nullable: The options field.
          - `description` string: The description field.
          - `label` string: The label field.
          - `target` C1ApiGolinkV1GoLinkTarget (recursive)
      - `redirect` C1ApiGolinkV1GoLinkRedirectTarget: The GoLinkRedirectTarget message.
        - `urlTemplate` string: URL template with named placeholders matching route parameters. e.g., "https://jira.internal/browse/{ticket_id}"
    - `updatedAt` string, date-time, nullable

## Changes

- **2026-10-06** `918a4e749f56`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/conductorone/apis/c1-api/changes/api/v1/golinks/:id/patch.md)

---

[API](https://skmtc.dev/conductorone/apis/c1-api.md) - [All operations](https://skmtc.dev/conductorone/apis/c1-api/llms.txt) - [OpenAPI document](https://skmtc.dev/conductorone/apis/c1-api/revisions/fe943bedf41b?raw)
