Skip to main content
PUT
/
datasources
/
{datasource_id}
/
data-elements
/
{data_element_id}
Python
from meibel import MeibelClient

client = MeibelClient(api_key="your-api-key")

# Create request body
body = UpdateDataElementRequest(name="Example")

result = client.datasources.data_elements.update("datasource_id_value", "data_element_id_value", body=body)
print(result)
{
  "id": "<string>",
  "datasource_id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "media_type": "<string>",
  "metadata": {},
  "created_at": "<string>",
  "updated_at": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.meibel.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Meibel-API-Key
string
header
required

Path Parameters

datasource_id
string
required
data_element_id
string
required

Body

application/json

Body for updating a data element. Omit a field to leave it unchanged.

name
string | null

Updated name

description
string | null

Updated description

metadata
Metadata · object

Metadata key-value pairs — replaces all existing metadata

Response

Successful Response

A single data element on a datasource.

id
string
required

Unique data element ID

datasource_id
string
required

ID of the datasource this element belongs to

name
string
required

Data element name

description
string | null

Human-authored description

media_type
string | null

MIME type of the underlying content

metadata
Metadata · object

Arbitrary metadata key-value pairs

created_at
string | null

ISO 8601 creation timestamp

updated_at
string | null

ISO 8601 last-update timestamp