PUT
/
sandbox
/
jobs
/
configuration
import Finch from '@tryfinch/finch-api';

const finch = new Finch();

async function main() {
  const sandboxJobConfiguration = await finch.sandbox.jobs.configuration.update({
    completion_status: 'complete',
    type: 'data_sync_all',
  });

  console.log(sandboxJobConfiguration.completion_status);
}

main();
{
  "type": "data_sync_all",
  "completion_status": "success"
}

Authorizations

Authorization
string
headerrequired

Please use your Access Token

Body

application/json
type
enum<string>
required
Available options:
data_sync_all
completion_status
enum<string>
required
Available options:
complete,
reauth_error,
permissions_error,
error

Response

200 - application/json
type
enum<string>
required
Available options:
data_sync_all
completion_status
enum<string>
required
Available options:
complete,
reauth_error,
permissions_error,
error