Delete a query

DeleteAssessmentQuery removes a query by ID.

By default, this operation does not delete assessments that are currently included in a report. Set the force option to true to delete an assessment regardless of its usage in reports.

delete
Authorizations
AuthorizationstringRequired

Veza API key for authentication. Generate keys in Administration > API Keys.

Path parameters
idstringRequired
Query parameters
forcebooleanOptional
Responses
chevron-right
200

OK

application/json
objectOptional
delete
/api/v1/assessments/queries/{id}

Sample request:

Sample response:

A successful response will be empty:

Last updated

Was this helpful?