tenant)) { throw new RuntimeException('Missing parameter for the endpoint security.delete_tenant'); } return "/_plugins/_security/api/tenants/$this->tenant"; } public function getMethod(): string { return 'DELETE'; } /** * @param string|null $tenant * @return DeleteTenant */ public function setTenant(?string $tenant): DeleteTenant { $this->tenant = $tenant; return $this; } }