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

Bearer token authentication using a Veza Personal API key.

Header Format: Authorization: Bearer <your-api-key>

Creating an API Key:

  1. Log into your Veza tenant
  2. Navigate to Administration โ†’ API Keys
  3. Generate a new API key and save the value securely
Path parameters
idstringRequired
Query parameters
forcebooleanOptional
Responses
200

OK

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

Sample request:

Sample response:

A successful response will be empty:

Last updated

Was this helpful?