Update auto/suggest mode
PUT
/api/v1/workflows/{workflowId}/smart/mode
const url = 'https://dashboard.justcrawl.io/api/v1/workflows/example/smart/mode';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"mode":"auto"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://dashboard.justcrawl.io/api/v1/workflows/example/smart/mode \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "mode": "auto" }'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” workflowId
required
string
Request Body required
Section titled “Request Body required ” Media type application/json
object
mode
required
string
Responses
Section titled “ Responses ”Mode updated successfully