> ## 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 Exposure

> Choose what the support agent may read of this type for the person it is talking to: the links
that say who a record belongs to, and the attributes given. Requires the admin role on the type.



## OpenAPI

````yaml /openapi-v1.json put /api/v1/crm/objects/{type_key}/exposure
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}/exposure:
    put:
      tags:
        - CRM objects
      summary: Update Object Exposure
      description: >-
        Choose what the support agent may read of this type for the person it is
        talking to: the links

        that say who a record belongs to, and the attributes given. Requires the
        admin role on the type.
      operationId: update_crm_object_exposure
      parameters:
        - in: path
          name: type_key
          schema:
            title: Type Key
            type: string
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ObjectExposureIn'
        required: true
      responses:
        '200':
          description: OK
      security:
        - ScopedAPIKeyAuth: []
components:
  schemas:
    ObjectExposureIn:
      properties:
        path:
          description: >-
            Link type keys leading from this type to contact (personal scope) or
            company (company scope). [] stops giving this type to the support
            agent.
          items:
            type: string
          title: Path
          type: array
        scope:
          default: personal
          description: 'personal: a person''s own records. company: those of their company'
          title: Scope
          type: string
        all_attributes:
          default: false
          description: >-
            Give every attribute, including those added later, except sensitive
            and admin-only ones
          title: All Attributes
          type: boolean
        attributes:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          description: Attributes given when all_attributes is false
          title: Attributes
      required:
        - path
      title: ObjectExposureIn
      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.