def METHOD_NAME(self):
    response: Response = self.client.delete(
        path=reverse(
            "v2:component-detail",
            kwargs={
                "cluster_pk": self.cluster_1.pk,
                "service_pk": self.service_1.pk,
                "pk": self.component_1.pk,
            },
        ),
    )
    self.assertEqual(response.status_code, HTTP_405_METHOD_NOT_ALLOWED)