Hi,
Currently this does not exists for other entities, we are however discussing different approaches for allowing this in the future. In the meantime you could perhaps ( provided the entity was created through the web interface ) create send back some feedback to the user with something like:
session.delete(
task
)
event = ftrack_api.event.base.Event(
topic='ftrack.action.trigger-user-interface',
data={
'type': 'message',
'success': False,
'message': 'Your task was incorrectly named'
},
target=(
'applicationId=ftrack.client.web and user.id={0}'.format(
event['source']['user']['id']
)
)
)
session.event_hub.publish(
event
)
session.commit()
cheers
Eric