#NEWLINE# def delete_job( job_id , deployment_name , token_manager = None , app_url = defaults . APP_URL ) : #NEWLINE# #INDENT# '\n    delete a job with a specific job id\n\n    ' #NEWLINE# headers = token_manager . get_access_token_headers ( ) #NEWLINE# data_url = get_data_url_for_job ( job_id , deployment_name , token_manager = token_manager , app_url = app_url ) #NEWLINE# url = ( '%s/api/v1/jobs/%s' % ( data_url , job_id ) ) #NEWLINE# response = requests . delete ( url , headers = headers ) #NEWLINE# if ( response . status_code != 200 ) : #NEWLINE# #INDENT# raise JutException ( ( 'Error %s: %s' % ( response . status_code , response . text ) ) )