object token.delete(array tokenids)
This method allows to delete tokens.
The Manage API tokens permission is required for the user role to manage tokens for other users.
(array)
IDs of the tokens to delete.
(object)
Returns an object containing the IDs of the deleted tokens under the tokenids
property.
Delete two tokens.
Response:
CToken::delete() in ui/include/classes/api/services/CToken.php.