Skip to main content
PATCH
/
assets
/
{id}
Edit an existing asset
curl --request PATCH \
  --url https://api.matia.io/v1/assets/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "connection": {}
}'
{
  "code": "<string>",
  "data": {
    "id": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

ID of the asset to edit

Body

application/json
name
string

Name of the asset

description
string
connection
object

Connection details

Response

Asset updated successfully

code
string
data
object
I