Skip to main content
PUT
/
schema
/
{username}
/
{namespace}
/
{datasetName}
/
sort-order
Update dataset sort order
curl --request PUT \
  --url https://api.datalinks.com/api/v1/schema/{username}/{namespace}/{datasetName}/sort-order \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "order": [
    "id",
    "name",
    "age",
    "department",
    "location"
  ]
}'
This response does not have an example.

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
order
string[]
required

Ordered list of all column names in desired sequence

Example:
[
"id",
"name",
"age",
"department",
"location"
]

Response

Successfully reordered columns