Add last_used_at to impersination token api documentation
What does this MR do and why?
Adds the last_used_at
property to the response example of the GET /users/:user_id/impersonation_tokens
api.
Screenshots or screen recordings
How to set up and validate locally
- Create a private excess token on an instance where you are allowed to use readapi for user
curl -H "PRIVATE-TOKEN: $GITLAB_PAT" "https://$GITLAB_URL/api/v4/users/:user_id/impersonation_tokens?state=active&per_page=100"
- Verify that the response contains the last_used_at property.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Martin Huter