Update entity class with complete resource replacement

PUT 

/v2/datasync/subkeys/:subKey/entity-classes/:entityClass/versions/:entityClassVersion

Update entity class with complete resource replacement

Request

Example
{
  "data": {
    "name": "user-profile",
    "description": "Entity class for storing user profile information including basic details and preferences",
    "version": 1,
    "config": {
      "ttlSec": 2678400
    },
    "properties": [
      {
        "name": "username",
        "path": "/payload/username",
        "valueKind": "string",
        "filtering": "full"
      },
      {
        "name": "email",
        "path": "/payload/email",
        "valueKind": "string",
        "filtering": "simple",
        "isNullable": true
      },
      {
        "name": "dateOfBirth",
        "path": "/payload/dateOfBirth",
        "valueKind": "date",
        "filtering": "simple"
      },
      {
        "name": "isActive",
        "path": "/payload/isActive",
        "valueKind": "boolean",
        "filtering": "simple"
      },
      {
        "name": "score",
        "path": "/payload/score",
        "valueKind": "number",
        "filtering": "simple"
      }
    ]
  },
  "links": {
    "self": "/subkeys/demo/relationships?cursor=TjIw&limit=20&sort=-createdAt",
    "next": "/subkeys/demo/relationships?cursor=TjQw&limit=20&sort=-createdAt"
  },
  "meta": {
    "next_cursor": "TjIw",
    "has_next": true,
    "limit": 20
  }
}
Example
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score"
    }
  ]
}
Example
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score"
    }
  ]
}
Example
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score"
    }
  ]
}
Example
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score"
    }
  ]
}
Example
"Accept header value is not acceptable. Supported values are [application/json]"
Example
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score"
    }
  ]
}
Example
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score"
    }
  ]
}
Example
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score"
    }
  ]
}
Example
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score"
    }
  ]
}
Example
{
  "errors": [
    {
      "errorCode": "DS-0100",
      "message": "Entity not found: user-42",
      "path": "/payload/score"
    }
  ]
}