diff --git a/ayon_api/operations.py b/ayon_api/operations.py index d4383fda1..8a9dac465 100644 --- a/ayon_api/operations.py +++ b/ayon_api/operations.py @@ -1489,5 +1489,5 @@ def delete_representation(self, project_name, representation_id): """ return self.delete_entity( - project_name, "representaion", representation_id + project_name, "representation", representation_id ) diff --git a/ayon_api/server_api.py b/ayon_api/server_api.py index a6d5aa249..6a47b8c23 100644 --- a/ayon_api/server_api.py +++ b/ayon_api/server_api.py @@ -7601,7 +7601,7 @@ def delete_representation( """ response = self.delete( - f"projects/{project_name}/representation/{representation_id}" + f"projects/{project_name}/representations/{representation_id}" ) response.raise_for_status()