Skip to main content
PUT
/
data
/
{username}
/
{namespace}
/
{datasetName}
/
inferDefinition
Update infer definition
curl --request PUT \
  --url https://api.datalinks.com/api/v1/data/{username}/{namespace}/{datasetName}/inferDefinition \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "dataDescription": "Employee dataset containing demographics and compensation.",
  "fieldDefinition": "id=unique employee identifier\nname=full employee name\nage=employee age in years\ndepartment=work department\nsalary=annual salary in USD\n"
}'

Authorizations

Authorization
string
header
required

Use a Bearer token for authentication. Submit the token using the Authorization header: Authorization: Bearer <token>.

Path Parameters

namespace
string
required

Namespace for the dataset.

datasetName
string
required

Name of the dataset.

username
string
required

The username associated with the request.

Body

application/json
dataDescription
string
required

Data description of the dataset.

Maximum length: 10000
Example:

"Employee dataset containing demographics and compensation."

fieldDefinition
string
required

Definition of the dataset fields.

Maximum length: 10000
Example:

"id=unique employee identifier\nname=full employee name\nage=employee age in years\ndepartment=work department\nsalary=annual salary in USD\n"

Response

Successfully created new infer definition