Skip to main content
POST
/
data
/
{username}
/
{namespace}
/
{datasetName}
/
rename
Rename a dataset
curl --request POST \
  --url https://api.datalinks.com/api/v1/data/{username}/{namespace}/{datasetName}/rename \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: text/plain' \
  --data '<string>'
{
  "error_code": "UNAUTHORIZED",
  "message": "Missing authentication token",
  "error_message": "",
  "sub_errors": [
    {
      "code": "<string>",
      "message": "<string>"
    }
  ]
}

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

text/plain

The body is of type string.

Response

Renames the specified dataset.