Added delete api for group audit event destinations
What does this MR do and why?
Added delete api for consolidated group level external audit event streaming destinations. Create api for the same was added in !147888 (merged).
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
- Follow steps in !147888 (merged) for creating and fetching the list of destinations for a group.
- Run following mutation to delete a destination, it should delete the destination and not return any errors. For checking the destination is deleted, you can use the list destinations query for groups.
mutation groupAuditEventStreamingDestinationsDelete{
groupAuditEventStreamingDestinationsDelete(input: { id: "gid://gitlab/AuditEvents::Group::ExternalStreamingDestination/1" }) {
errors
}
}
Related to #436610 (closed)
Edited by Hitesh Raghuvanshi