Rotate a group service account token
One step with GitLab. We can help you get access.
Get something done
Rotate a group service account token
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Access tokens API lets you rotate a group service account token in a single step (POST /api/v4/groups/{id}/service_accounts/{user_id}/personal_access_tokens/{token_id}/rotate). GitLab also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I rotate a group service account's personal access token?
- Does rotating a group service account token keep the same name and scopes?
- Can I choose when the new group service account token expires?
Say it to your AI assistant
- Rotate service account {user}'s token {token} in group {group}.
- Rotate token {token} of group service account {user} in {group} so the new one expires on {expires_at}.
For your developer
POST /api/v4/groups/{id}/service_accounts/{user_id}/personal_access_tokens/{token_id}/rotate in GitLab REST Access tokens API. Full spec on APIs.io.