#NEWLINE# def delete( config , args ) : #NEWLINE# #INDENT# url = ( ( ( token [ 'url' ] + '/api/qos/' ) + args [ 'qosprofile' ] ) + '/' ) #NEWLINE# token = auth . get_token ( config ) #NEWLINE# r = requests . delete ( url , headers = { #NEWLINE# #INDENT# 'X-Auth-Token' : token , #NEWLINE# #UNINDENT# } ) #NEWLINE# print ( ( 'API returned status code %s' % r . status_code ) )