def delete_job(context, id, **filters):
LOG.info("<STR_LIT>" % (id, context.tenant_id))<EOL>if not context.is_admin:<EOL><INDENT>raise n_exc.NotAuthorized()<EOL><DEDENT>with context.session.begin():<EOL><INDENT>job = db_api.async_transaction_find(context, id=id, scope=db_api.ONE,<EOL>**filters)<EOL>if not job:<EOL><INDENT>raise q_exc.JobNotFound(job_id=id)<EOL><DEDENT>db_api.async_transaction_delete(context, job)<EOL><DEDENT>
Delete an ip address.

    : param context: neutron api request context
    : param id: UUID representing the ip address to delete.