in one week.</p>
<p>In GitLab 16.6 and later, you can use the <code>expires_at</code> parameter to set a different expiry date. This non-default expiry date can be up to a maximum of one year from the rotation date.</p>
<p><code>plaintext
POST /groups/:id/access_tokens/:token_id/rotate</code></p>
<p>| Attribute | Type       | required | Description         |
|-----------|------------|----------|---------------------|
| <code>id</code> | integer or string  | yes      | ID or <a href="rest/index.md#namespaced