Example #1
0
def application_delete(oauth_request, application_id, extension):

  Application_ = Application()
  Application_.current_user = oauth_request.user

  application_deleted = Application_.application_delete(application_id)

  if type(application_deleted) is tuple:
    return application_deleted

  return status_.status_204(), 204