Skip to main content

BuildDatalinkKey

Generate and update datalink keys for all items in the target datastore (using DisplayID).

Description

Generate and update datalink keys for all items in the target datastore.

Method

POST

Request URL Format

/api/v0/applications/:app-id/datastores/:datastore-id/datalink/keys

URL Params

app-id          : Application ID (specify the ID entered from the Hexabase screen or internal ID [p_id])
datastore-id : Datastore ID(Specify the ID entered from the Hexabase screen or internal ID [d_id])

Payload

{
"async": false // default: false (If true, async datalink key creation is performed)
}

Request URL Sample

POST https://api.xxx.com/api/v0/applications/APPNAME/datastores/DATABASE_1/datalink/keys

Response Sample

{
"error": null
}