Skip to content
代码片段 群组 项目
提交 e7536d98 编辑于 作者: Jon Glassman's avatar Jon Glassman
浏览文件

Merge branch 'h0rv-master-patch-23178' into 'master'

Set `expires_at` Field for Impersonation Token Creation as Required

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/132141



Merged-by: default avatarJon Glassman <jglassman@gitlab.com>
Approved-by: default avatarAboobacker MK <akarakath@gitlab.com>
Approved-by: default avatarJon Glassman <jglassman@gitlab.com>
Co-authored-by: default avatarRobby <rhorv@proton.me>
No related branches found
No related tags found
无相关合并请求
......@@ -2032,7 +2032,7 @@ POST /users/:user_id/impersonation_tokens
| ------------ | ------- | -------- | --------------------------------------------------------------------------- |
| `user_id` | integer | yes | ID of the user |
| `name` | string | yes | Name of the impersonation token |
| `expires_at` | date | no | Expiration date of the impersonation token in ISO format (`YYYY-MM-DD`) |
| `expires_at` | date | yes | Expiration date of the impersonation token in ISO format (`YYYY-MM-DD`) |
| `scopes` | array | yes | Array of scopes of the impersonation token (`api`, `read_user`) |
```shell
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册