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:
"jsonrpc": "2.0",
"result": {
"192"
]
},
}
CToken::delete() in ui/include/classes/api/services/CToken.php.