This method allows to delete all service times from services.

    This method is only available to Admin and Super admin user types. Permissions to call the method can be revoked in user role settings. See for more information.

    Parameters

    (object) Returns an object containing the IDs of the affected services under the serviceids property.

    Examples

    Deleting service times from an service

    Delete all service times from service “2”.

    Response:

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

    Source

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