(self, object: str, content: dict[str, Any] | None)
| 93 | ) |
| 94 | |
| 95 | def patch(self, object: str, content: dict[str, Any] | None) -> dict[str, Any]: |
| 96 | return get_result( |
| 97 | requests.patch( |
| 98 | f"{self.controlplane_api_url}/v1beta2/{object}", |
| 99 | json=content, |
| 100 | headers=self.headers(), |
| 101 | ) |
| 102 | ) |
| 103 | |
| 104 | def get(self, object: str) -> dict[str, Any]: |
| 105 | return get_result( |