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

# Update link

> Change a link's name, autoplay, controls, expiry or password. What it plays stays the same: to play another version, make a new link or move the alias it follows.

MCP tool: [`update_link`](/mcp/tools/links#update_link).



## OpenAPI

````yaml /api/openapi.json patch /v1/links/{link_id}
openapi: 3.1.0
info:
  title: Rendermate API
  version: v1
servers:
  - url: https://api.rendermate.com
security:
  - api_key: []
tags:
  - name: Account
  - name: Workspaces
  - name: Projects
  - name: Documents
  - name: Links
  - name: Exports
  - name: Assets
  - name: Generations
  - name: Persons
  - name: Help
paths:
  /v1/links/{link_id}:
    patch:
      tags:
        - Links
      summary: Update link
      description: >-
        Change a link's name, autoplay, controls, expiry or password. What it
        plays stays the same: to play another version, make a new link or move
        the alias it follows.


        MCP tool: [`update_link`](/mcp/tools/links#update_link).
      operationId: update_link
      parameters:
        - description: The link, `lnk_…`.
          in: path
          name: link_id
          required: true
          schema:
            description: The link, `lnk_…`.
            type: string
      requestBody:
        content:
          application/json:
            schema:
              properties:
                autoplay:
                  description: Start playing as soon as the page opens.
                  type:
                    - boolean
                    - 'null'
                controls:
                  description: Show the player's controls.
                  type:
                    - boolean
                    - 'null'
                expires_at:
                  default: null
                  description: >-
                    When the link stops working, as an RFC 3339 time; `null`
                    makes it never expire.
                  type:
                    - string
                    - 'null'
                name:
                  default: null
                  description: A new name; `null` removes it.
                  type:
                    - string
                    - 'null'
                password:
                  default: null
                  description: >-
                    A password viewers enter before it plays, 4 to 128
                    characters, replacing any it had;

                    `null` removes it, so anyone with the link watches. Viewers
                    who entered the old one

                    enter the new one.
                  type:
                    - string
                    - 'null'
              required: []
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              example:
                alias: latest
                autoplay: false
                controls: true
                created_at: '2026-12-03T10:15:00Z'
                created_by: api_key_01JF3Q1C5E7G9J2M4N6Q8S0T2W
                document_id: doc_01JF3QZ8X6N2V7K4M9P5R1T3WY
                embed_url: >-
                  https://rendermate.com/link/lnk_01JF3R0B4D6F8H1K3M5P7R9T2V/embed
                id: lnk_01JF3R0B4D6F8H1K3M5P7R9T2V
                name: Client review
                password_protected: false
                project_id: prj_01JF3Q4A8C2E6G0J3K5N7Q9S1V
                url: https://rendermate.com/link/lnk_01JF3R0B4D6F8H1K3M5P7R9T2V
              schema:
                oneOf:
                  - properties:
                      version:
                        description: A version, by number.
                        format: uint64
                        minimum: 0
                        type: integer
                    required:
                      - version
                    type: object
                  - properties:
                      alias:
                        description: >-
                          An alias, such as `latest`; `latest` when neither this
                          nor `version` is given.
                        type: string
                    required:
                      - alias
                    type: object
                properties:
                  autoplay:
                    description: Whether the video starts playing when the page opens.
                    type: boolean
                  controls:
                    description: Whether the player shows its controls.
                    type: boolean
                  created_at:
                    description: RFC 3339.
                    type: string
                  created_by:
                    description: The API key or member that created it.
                    type: string
                  document_id:
                    description: The document it plays.
                    type: string
                  embed_url:
                    description: The page to put in an iframe.
                    type: string
                  expires_at:
                    description: RFC 3339.
                    type:
                      - string
                      - 'null'
                  id:
                    description: '`lnk_…`.'
                    type: string
                  name:
                    description: A name people recognize it by; absent when it has none.
                    type:
                      - string
                      - 'null'
                  password_protected:
                    description: >-
                      Whether viewers need a password to watch it. The password
                      itself is never shown.
                    type: boolean
                  project_id:
                    description: The document's project.
                    type: string
                  revoked_at:
                    description: RFC 3339.
                    type:
                      - string
                      - 'null'
                  url:
                    description: The view page.
                    type: string
                required:
                  - id
                  - document_id
                  - project_id
                  - autoplay
                  - controls
                  - password_protected
                  - url
                  - embed_url
                  - created_by
                  - created_at
                type: object
          description: OK
        '400':
          content:
            application/json:
              examples:
                invalid_request:
                  summary: invalid_request
                  value:
                    error:
                      code: invalid_request
                      doc_url: https://rendermate.com/docs/errors#invalid_request
                      message: a link's name is at most 200 characters
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: '- `invalid_request`: a link''s name is at most 200 characters'
        '401':
          content:
            application/json:
              examples:
                unauthorized:
                  summary: unauthorized
                  value:
                    error:
                      code: unauthorized
                      doc_url: https://rendermate.com/docs/errors#unauthorized
                      message: 'provide a valid API key: Authorization: Bearer sk_…'
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            - `unauthorized`: provide a valid API key: Authorization: Bearer
            sk_…
        '403':
          content:
            application/json:
              examples:
                key_without_workspace:
                  summary: key_without_workspace
                  value:
                    error:
                      code: key_without_workspace
                      doc_url: https://rendermate.com/docs/errors#key_without_workspace
                      message: >-
                        this API key has no workspace: create a key in the
                        dashboard, under api keys in the workspace it should act
                        in
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            - `key_without_workspace`: this API key has no workspace: create a
            key in the dashboard, under api keys in the workspace it should act
            in
        '404':
          content:
            application/json:
              examples:
                link.not_found:
                  summary: link.not_found
                  value:
                    error:
                      code: link.not_found
                      doc_url: https://rendermate.com/docs/errors#link.not_found
                      message: no such link
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: '- `link.not_found`: no such link'
        '409':
          content:
            application/json:
              examples:
                link.revoked:
                  summary: link.revoked
                  value:
                    error:
                      code: link.revoked
                      doc_url: https://rendermate.com/docs/errors#link.revoked
                      message: 'this link was revoked: create another'
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: '- `link.revoked`: this link was revoked: create another'
        '500':
          content:
            application/json:
              examples:
                internal:
                  summary: internal
                  value:
                    error:
                      code: internal
                      doc_url: https://rendermate.com/docs/errors#internal
                      message: internal error
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: '- `internal`: internal error'
components:
  schemas:
    Error:
      properties:
        error:
          properties:
            code:
              description: Stable, such as `asset.name_taken` or `not_available`.
              type: string
            doc_url:
              description: The code's entry on the Errors page.
              type: string
            message:
              description: What went wrong and what to do next.
              type: string
            request_id:
              description: >-
                The request's ID, also in its `x-request-id` header. Quote it
                when you contact support.
              type: string
          required:
            - code
            - message
            - doc_url
            - request_id
          type: object
      required:
        - error
      type: object
  securitySchemes:
    api_key:
      description: >-
        An API key from the dashboard, such as `sk_live_…`. It acts in its
        workspace.
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.