Service Account Display Name Update via API (PATCH) Returns 404
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
Updating a Service Account via the Group service accounts API to change it's display name always results in a 404 response.
Steps to reproduce
- Create a Service Account within a group on GitLab.com.
- Attempt to update the display name using a
PATCHcall. - Observe the
404response.
Example Project
This was replicated using this Service Account, which was provisioned for the top-level group tw-test-bed.
What is the current bug behavior?
API returns 404 Not Found when attempting to update a Service Account's display name.
What is the expected correct behavior?
API should accept the PATCH request and update the Service Account's display name as documented.
Relevant logs and/or screenshots
API call sent:
curl --location --request PATCH 'https://gitlab.com/api/v4/groups/86319760/service_accounts/26390465?=null&name=newaccountname123' \
--header 'Authorization: <TOKEN>' \
Response:
"error": "404 Not Found"
Output of checks
This bug happens on GitLab.com
Edited by 🤖 GitLab Bot 🤖