> ## 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 Object Type

> Update a custom object type's labels, description, title attribute or status. Its key never changes.



## OpenAPI

````yaml /openapi-v1.json put /api/v1/crm/objects/{type_key}
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}:
    put:
      tags:
        - CRM objects
      summary: Update Object Type
      description: >-
        Update a custom object type's labels, description, title attribute or
        status. Its key never changes.
      operationId: update_crm_object_type
      parameters:
        - in: path
          name: type_key
          schema:
            title: Type Key
            type: string
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ObjectTypeUpdateIn'
        required: true
      responses:
        '200':
          description: OK
      security:
        - ScopedAPIKeyAuth: []
components:
  schemas:
    ObjectTypeUpdateIn:
      properties:
        singular_label:
          anyOf:
            - type: string
            - type: 'null'
          description: Name of one record, e.g. Subscription
          title: Singular Label
        plural_label:
          anyOf:
            - type: string
            - type: 'null'
          description: Name of the list, e.g. Subscriptions
          title: Plural Label
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        title_attribute:
          anyOf:
            - type: string
            - type: 'null'
          description: Key of the text attribute shown as the record's name
          title: Title Attribute
        status:
          anyOf:
            - type: string
            - type: 'null'
          description: experimental, active or deprecated
          title: Status
        alert_rules:
          anyOf:
            - items:
                additionalProperties: true
                type: object
              type: array
            - type: 'null'
          description: >-
            A task opens for each record that starts matching: [{"title":
            "Renewal in 30 days", "filter": {"renews_on": {"$lte":
            {"$days_from_now": 30}}}, "assign_attribute": "owner"}]
          title: Alert Rules
        rules:
          anyOf:
            - items:
                additionalProperties: true
                type: object
              type: array
            - type: 'null'
          description: >-
            Values a record must have once it matches a filter: [{"when":
            {"stage": "Lost"}, "require": ["lost_reason"], "message": "Say why
            the deal was lost."}]
          title: Rules
      title: ObjectTypeUpdateIn
      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.