deleteQueryConfiguration

deleteQueryConfiguration

This method deletes an existing query configuration for a specified scenario.

Parameters

  • scenarioId (string, required): The ID of the scenario to which the query configuration belongs.
  • queryConfigurationId (string, required): The ID of the query configuration that needs to be deleted.

Returns

A JSON object confirming the deletion of the query configuration.

Usage Example

const axios = require('axios');

let config = {
  method: 'delete',
  maxBodyLength: Infinity,
  url: 'https://api.nexera.id/compliance/scenarios/:scenarioId/queryConfigurations/:queryConfigurationId',
  headers: { 
    'Accept': 'application/json', 
    'Authorization': 'Bearer <TOKEN>'
  }
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});