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:
- Log into your Veza tenant
- Navigate to Administration โ API Keys
- Generate a new API key and save the value securely
Path parameters
idstringRequired
Query parameters
forcebooleanOptional
Responses
200
OK
application/json
Responseobject
default
Default error response
application/json
delete
/api/v1/assessments/queries/{id}Sample request:
Sample response:
A successful response will be empty:
Last updated
Was this helpful?
