API Request for DELETE should not send anything by default; the current behavior sends an empty body send: b'{}' reply: 'HTTP/1.1 403 Forbidden\r\n' Need to set {} to None https://github.com/swagger-api/swagger-codegen-generators/blob/39a2bcd51eb9acf81ee0a7dc23d7cd1059c0c957/src/main/resources/handlebars/python/rest.mustache#L150