Skip to main content
POST
/
{resourceSlug}
/
forms
/
datasource
/
{datasourceId}
/
sync
Sync Datasource
curl --request POST \
  --url https://app.agentcloud.dev/{resourceSlug}/forms/datasource/{datasourceId}/sync \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>",
  "code": 123
}

Authorizations

Authorization
string
header
required

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

Path Parameters

resourceSlug
string
required

The resourceSlug is a url parameter of the teamId associated with the user. Anywhere the resourceSlug is used can be interpreted as a teamId Mongodb Object id, unique identifier, length of 24 characters fitting the following regex; [a-f0-9]{24}

datasourceId
string
required

Datasource object id of datasource to be synced. Mongodb Object id, unique identifier, length of 24 characters fitting the following regex; [a-f0-9]{24}

Response

Successful operation, no redirect and no body