PATCH
/
integrations
/
{id}
/
schemas
curl --request PATCH \
  --url https://api.matia.io/v1/integrations/{id}/schemas \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "schemas": {
    "schema": {
      "enabled": true,
      "tables": {
        "table": {
          "enabled": true,
          "columns": {
            "column": {
              "enabled": true,
              "hashed": true
            }
          }
        }
      }
    }
  }
}'
{
  "code": "<string>",
  "data": {
    "schemas": {
      "schema": {
        "nameInDestination": "<string>",
        "enabled": true,
        "tables": {
          "table": {
            "nameInDestination": "<string>",
            "enabled": true,
            "syncMode": "<string>",
            "cursorField": "<string>",
            "columns": {
              "column": {
                "nameInDestination": "<string>",
                "enabled": true,
                "hashed": true,
                "isPrimaryKey": true
              }
            }
          }
        }
      }
    }
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

The ID of the integration

Body

application/json

Response

200
application/json
Successful operation

The response is of type object.