Groups::DeployTokens::RevokeService should return ServiceResponse

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you can request access to GitLab Duo.

What does this MR do and why?

The Groups::DeployTokens::RevokeService should return a ServiceResponse instead of a boolean.

In order to be able to use the RevokeService for Group deploy tokens in the new Admin Revoke API, we need to make sure that all RevokeServices return the same response. Therefore, this MR changes the RevokeService to return a ServiceResponse.

This is necessary for !170421 (merged)

Related Issue: #499958 (closed)

🛠 with at Siemens

MR acceptance checklist

MR Checklist ( @nwittstruck)

How to set up and validate locally

See !153376 (merged) to test that the existing Group Revokation API still works.

Related to #499958 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading