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

# Set or clear property values for an entity

> Apply a batch of set/clear operations to the entity's property values. Per-item failures do not abort the batch. Multi-select properties take their selection via the `values` array; all other types use `value`.



## OpenAPI

````yaml /api-specs/cloud/taxonomy-api.json patch /property-values/{entityType}/{entityId}
openapi: 3.0.3
info:
  description: >-
    Microservice responsible for managing the Domino Taxonomy and Properties
    features
  title: Domino Taxonomy Microservice API
  termsOfService: http://swagger.io/terms/
  contact:
    name: Domino Data Lab
    url: https://tickets.dominodatalab.com/hc/en-us
    email: support@dominodatalab.com
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: '1.0'
servers:
  - url: https://mycluster.domino.tech/api/taxonomy/v1
    description: >-
      Replace 'mycluster.domino.tech' with your Domino cluster hostname. For
      Domino Cloud customers, that is `your-subdomain`.domino.tech (e.g.,
      acme.domino.tech). For self-hosted deployments, it is the hostname you
      reach the Domino UI at.
security: []
tags:
  - description: Manage taxonomy namespaces.
    name: Tagging - Namespaces
  - description: Manage tags within namespaces.
    name: Tagging - Tags
  - description: Assign, remove, and list tag assignments on entities.
    name: Tagging - Entity Tags
  - description: Look up entities by tag.
    name: Tagging - Entities
  - description: Fetch the full namespace + tag hierarchy.
    name: Tagging - Taxonomy Tree
  - description: Validate and import taxonomy data from a file.
    name: Tagging - Import
  - description: Export the current taxonomy to a file.
    name: Tagging - Export
  - description: Internal-only endpoints for service-account callers.
    name: Tagging - Internal
  - description: Manage property definitions and their groups.
    name: Properties - Definitions
  - description: Read and update an entity's property values.
    name: Properties - Values
  - description: Internal-only endpoints for service-account callers (properties).
    name: Properties - Internal
externalDocs:
  description: OpenAPI
  url: https://swagger.io/resources/open-api/
paths:
  /property-values/{entityType}/{entityId}:
    patch:
      tags:
        - Properties - Values
      summary: Set or clear property values for an entity
      description: >-
        Apply a batch of set/clear operations to the entity's property values.
        Per-item failures do not abort the batch. Multi-select properties take
        their selection via the `values` array; all other types use `value`.
      parameters:
        - description: Entity type
          name: entityType
          in: path
          required: true
          schema:
            type: string
        - description: Entity ID
          name: entityId
          in: path
          required: true
          schema:
            type: string
        - description: >-
            Entity version. Required for app_version; omitted for all other
            types (model_version is referenced by its version UUID)
          name: version
          in: query
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/server.PatchPropertyValuesRequest'
        description: Items to apply
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/taxonomy.PatchPropertyValuesResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/server.HTTPError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/server.HTTPError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/server.HTTPError'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/server.HTTPError'
components:
  schemas:
    server.PatchPropertyValuesRequest:
      type: object
      required:
        - items
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/taxonomy.PatchPropertyValuesItem'
    taxonomy.PatchPropertyValuesResponse:
      type: object
      properties:
        applied:
          type: array
          items:
            $ref: '#/components/schemas/taxonomy.PatchPropertyValuesItemResult'
        entityId:
          type: string
        entityType:
          $ref: '#/components/schemas/taxonomy.EntityType'
        errors:
          type: array
          items:
            $ref: '#/components/schemas/taxonomy.PatchPropertyValuesItemError'
        version:
          type: string
    server.HTTPError:
      type: object
      properties:
        message:
          type: string
    taxonomy.PatchPropertyValuesItem:
      type: object
      required:
        - propertyId
      properties:
        copyPolicy:
          $ref: '#/components/schemas/taxonomy.CopyPolicy'
        propertyId:
          type: string
        value:
          type: string
        values:
          type: array
          items:
            type: string
    taxonomy.PatchPropertyValuesItemResult:
      type: object
      properties:
        action:
          description: '"set" | "cleared" | "noop"'
          type: string
        propertyId:
          type: string
    taxonomy.EntityType:
      type: string
      enum:
        - dataset
        - project
        - project_template
        - model
        - model_version
        - app
        - app_version
        - netapp_volume
        - environment
        - policy
        - policy_version
      x-enum-varnames:
        - EntityTypeDataset
        - EntityTypeProject
        - EntityTypeProjectTemplate
        - EntityTypeModel
        - EntityTypeModelVersion
        - EntityTypeApp
        - EntityTypeAppVersion
        - EntityTypeNetappVolume
        - EntityTypeEnvironment
        - EntityTypePolicy
        - EntityTypePolicyVersion
    taxonomy.PatchPropertyValuesItemError:
      type: object
      properties:
        error:
          type: string
        propertyId:
          type: string
    taxonomy.CopyPolicy:
      type: string
      enum:
        - copy
        - emptyRequired
        - emptyOptional
      x-enum-varnames:
        - CopyPolicyCopy
        - CopyPolicyEmptyRequired
        - CopyPolicyEmptyOptional

````

## Related topics

- [Properties](/cloud/platform-capabilities/core-concepts/knowledge-management/properties.md)
- [Clear all property values for an entity](/api-reference/properties--values/clear-all-property-values-for-an-entity.md)
- [Get property values for an entity](/api-reference/properties--values/get-property-values-for-an-entity.md)
- [Copy all property values from one entity to another](/api-reference/properties--internal/copy-all-property-values-from-one-entity-to-another.md)
