All URIs are relative to https://localhost:8080/api/v9
Method | HTTP request | Description |
---|---|---|
delete_time_entry_notes_by_id | DELETE /me/time_entries/{time_entry_id}/notes | delete a time entry note by ID. |
str delete_time_entry_notes_by_id(time_entry_id)
delete a time entry note by ID.
Delete time entry notes by ID that is accessible by the current user.
from __future__ import print_function
import time
import toggl
from toggl.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: BasicAuth
configuration = toggl.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = toggl.TimeEntriesNotesApi(toggl.ApiClient(configuration))
time_entry_id = 56 # int | TimeEntry ID.
try:
# delete a time entry note by ID.
api_response = api_instance.delete_time_entry_notes_by_id(time_entry_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling TimeEntriesNotesApi->delete_time_entry_notes_by_id: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
time_entry_id | int | TimeEntry ID. |
str
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]