Skip to main content
PATCH
/
api
/
v1
/
datalake
/
{source}
/
databases
/
{db}
Rename database
curl --request PATCH \
  --url https://ai-loop.alpeadria.com/api/v1/datalake/{source}/databases/{db} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "newName": "<string>"
}
'
{
  "statusMessage": "[AILOOP] Database 'V3_Services' successfully renamed to 'V3_Services_Archive'."
}
Rename an existing database (collection) in the Data Lake.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

source
string
required
db
string
required

Body

application/json
newName
string
required

Response

200 - application/json

Database renamed successfully.

statusMessage
string