token.delete

    This method allows to delete tokens.

    Only Super admin user type is allowed to manage tokens for other users.

    (object) Returns an object containing the IDs of the deleted tokens under the tokenids property.

    Delete multiple tokens

    Delete two tokens.

    Response:

    1. "jsonrpc": "2.0",
    2. "result": {
    3. "192"
    4. ]
    5. },
    6. }

    CToken::delete() in ui/include/classes/api/services/CToken.php.