-path-encoding">URL-encoded path of the group</a> |
| <code>token_id</code> | integer | yes | ID of the access token |
| <code>expires_at</code> | date    | no       | Expiration date of the access token in ISO format (<code>YYYY-MM-DD</code>). <a href="https://gitlab.com/gitlab-org/gitlab/-/issues/416795">Introduced</a> in GitLab 16.6. |</p>
<p><code>shell
curl --request POST --header "PRIVATE-TOKEN: &lt;your_access_token&gt;" "https://gitlab.example.com/api/v4/groups/&lt;group_id&gt;/access_tokens/&lt;tok