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

# Update Record

> Update only the values and links you send. A null value clears that attribute.



## OpenAPI

````yaml /openapi-v1.json put /api/v1/crm/objects/{type_key}/records/{record_id}
openapi: 3.1.0
info:
  title: AGO Public API
  version: 1.0.0
  description: Programmatic access to your AGO workspace.
servers:
  - url: https://{tenant_id}.api.useago.com
    description: AGO Public API v1
    variables:
      tenant_id:
        default: your-tenant-id
        description: Your AGO tenant identifier
security: []
paths:
  /api/v1/crm/objects/{type_key}/records/{record_id}:
    put:
      tags:
        - CRM objects
      summary: Update Record
      description: >-
        Update only the values and links you send. A null value clears that
        attribute.
      operationId: update_crm_record
      parameters:
        - in: path
          name: type_key
          schema:
            title: Type Key
            type: string
          required: true
        - in: path
          name: record_id
          schema:
            title: Record Id
            type: string
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecordUpdateIn'
        required: true
      responses:
        '200':
          description: OK
      security:
        - ScopedAPIKeyAuth: []
components:
  schemas:
    RecordUpdateIn:
      properties:
        values:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          description: Values by attribute key; a null value clears it
          title: Values
        links:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          description: >-
            Linked records by link type key: an id, a list of ids, or null.
            Replaces the records linked through that type.
          title: Links
        expected_version:
          anyOf:
            - type: integer
            - type: 'null'
          description: >-
            The version you read; the update is refused when the record changed
            since
          title: Expected Version
      title: RecordUpdateIn
      type: object
  securitySchemes:
    ScopedAPIKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

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