Remove the auto mode setting for an organisation
DELETE
/api/v3/organizations/{organisation}/ai/auto-mode
const url = 'https://dashboard.quantcdn.io/api/v3/organizations/example/ai/auto-mode';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://dashboard.quantcdn.io/api/v3/organizations/example/ai/auto-mode \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”organisation
required
string
The organisation ID
Responses
Section titled “Responses”The setting is removed
Media typeapplication/json
object
autoMode
object
Example
{ "autoMode": null}Another change to the setting happened at the same time. Read the setting again, then retry.
Media typeapplication/json
object
error
required
string
Examplegenerated
{ "error": "example"}The AI service is not available
The AI service cannot remove the setting now (the audit ledger is not available)
