Deleting a recordΒΆ
Deletes the queried record and returns the result (dict).
Note
Deletion of multiple records is not supported.
import pysnow
# Create client object
c = pysnow.Client(instance='myinstance', user='myusername', password='mypassword')
# Define a resource, here we'll use the incident table API
incident = c.resource(api_path='/table/incident')
# Delete incident with number 'INC012345'
result = incident.delete(query={'number': 'INC012345'})