| HTTP Method | URL | Requires Auth |
|---|---|---|
POST | /api/v1/users.removePersonalAccessToken | yes |
{% hint style="info" %}
- Permission required:
create-personal-access-tokens - This endpoint required 2FA. Refer to #call-an-endpoint-with-2fa {% endhint %}
| Key | Example Value | Description |
|---|---|---|
tokenName* | mypersonaltoken | The name of the token. |
curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
-H "X-User-Id: aobEdbYhXfu5hkeqG" \
-H "Content-type:application/json" \
http://localhost:3000/api/v1/users.removePersonalAccessToken \
-d '{
"tokenName": "mypersonaltoken" }'{
"success": true
}| Version | Description |
|---|---|
| 0.69.0 | Added |