Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Latest commit

 

History

History
37 lines (27 loc) · 1.34 KB

File metadata and controls

37 lines (27 loc) · 1.34 KB

Remove Personal Access Token

HTTP MethodURLRequires Auth
POST/api/v1/users.removePersonalAccessTokenyes

{% hint style="info" %}

Body Parameters

KeyExample ValueDescription
tokenName*mypersonaltokenThe name of the token.

Example Call

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" }'

Example Result

{
    "success": true
}

Change Log

Version Description
0.69.0 Added