en_id&gt;/rotate"</code></p>
<p>Example response:</p>
<p><code>json
{
    "id": 42,
    "name": "Rotated Token",
    "revoked": false,
    "created_at": "2023-08-01T15:00:00.000Z",
    "scopes": ["api"],
    "user_id": 1337,
    "last_used_at": null,
    "active": true,
    "expires_at": "2023-08-15",
    "access_level": 30,
    "token": "s3cr3t"
}</code></p>
<h3>Responses</h3>
<ul>
<li><code>200: OK</code> if existing token is successfully revoked and the new token is created.</li>
<li><code>400: Bad Reque