PUT
/
data-models
/
{id}
curl --request PUT \
  --url https://api.gateway.tech/data-models/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "<string>",
  "schema": {},
  "tags": [
    "<string>"
  ],
  "title": "<string>"
}'
{
  "created_at": "<string>",
  "created_by": "<string>",
  "deleted_at": "<string>",
  "description": "<string>",
  "id": 123,
  "schema": {},
  "tags": [
    "<string>"
  ],
  "title": "<string>",
  "updated_at": "<string>"
}

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and the JWT token.

Path Parameters

id
integer
required

Data Model ID

Body

application/json
Data Model
description
string
required
schema
object
required
title
string
required
tags
string[]

Response

200 - application/json
OK
created_at
string
required
created_by
string
required
description
string
required
id
integer
required
schema
object
required
title
string
required
updated_at
string
required
deleted_at
string
tags
string[]